Run and plot complex function
Ältere Kommentare anzeigen
Hi
I am trying to run this code:
Omega=-pi:pi/100:pi;
X=exp(i*Omega)./exp(i*Omega)-0.8;
subplot(3,2,1), plot(Omega/pi,abs(X))
ylabel('|X|')
subplot(3,2,2), plot(Omega/pi,angle(X)*180/pi)
ylabel('Angle (X), degree')
However I got some errors and I am not sure why.
Regards.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Subplots finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!