ex6_5 - subplot(111)...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% ex6.5 Tspan = 0:.2/500:5; y0 = 0; options = odeset('RelTol',1e-9,'AbsTol',1e-9); [t,y] = ode45('ex6_5d',Tspan,y0,options);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: subplot(111) H=plot(t,y,t,(1+.5*cos(pi*t)).*cos(20*pi*t),'--'); xlabel('Time (sec)')...
View Full Document

This note was uploaded on 03/24/2010 for the course CENG 4331 taught by Professor Maryrandolph-gips during the Fall '09 term at UH Clear Lake.

Ask a homework question - tutors are online