bodeexamples - 3:14...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 11/8/04 3:14 PM % % % % /Users/davidtrumper/ActiveAl_.../complicatedbode.m 1 of 1 define systems individually and then combine via multiplications (probably should use state space for higher accuracy in real computations D L Trumper 11/8/04 = = = = tf(5,[1 0]); tf([0.5 1],[0.1 1]); tf([1/20^2 0.1/20 1],[1/100^2 0.2/100 1]); tf([1],[1/1000^2 0.02/1000 1]); sys1 sys2 sys3 sys4 ww = logspace(0,4,2000); totalsys = sys1*sys2*sys3*sys4; [mag,phase] = bode(totalsys,ww); mag2 = mag(:); phase2 = phase(:); figure(1); clf subplot(2,1,1) loglog(ww,mag2) axis([1e0 1e4 1e-2 1e2]) grid on subplot(2,1,2) semilogx(ww,phase2) axis([1e0 1e4 -300 100]) set(gca,'YTick',[-360:90:360]) grid on 10 2 10 1 10 0 10 -1 10 -2 10 0 10 1 10 2 10 3 10 4 90 0 -90 -180 -270 10 0 10 1 10 2 10 3 10 4 ...
View Full Document

This note was uploaded on 02/23/2012 for the course MECHANICAL 2.003 taught by Professor Davidtrumper during the Spring '05 term at MIT.

Page1 / 8

bodeexamples - 3:14...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online