feat: Add partial second lab

This commit is contained in:
2024-03-27 10:39:23 +01:00
parent 5391eda232
commit aba7e87114
2 changed files with 36 additions and 0 deletions

11
generatePlots.m Normal file
View File

@@ -0,0 +1,11 @@
function generatePlots(H)
subplot(1,2,1)
plotoptions = bodeoptions;
plotoptions.Grid = 'on';
%plotoptions.FreqScale = 'linear';
bodeplot(H,plotoptions)
subplot(1,2,2)
[num, den] = tfdata(H, "v");
nyquist(num,den)
grid on
end