homework - >> subplot(2,2,2)...

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

View Full Document Right Arrow Icon
Kevin Diaz Homework >> t=[0:0.02:10]; >> x=10*exp(-0.5*t).*sin(3*t+2); >> y=7*exp(-0.4*t).*cos(5*t-3); >> plot(t,x,t,y,':'),xlabel('t'),ylabel('x(t),y(t)'),legend('x(t)','y(t)') >> Year=[1990:1994]; >> Temp=[18,19,21,17,20]; >> subplot(2,2,1) >> stem(Year,Temp),xlabel('Year'),ylabel('Temperature(Deg.C')
Background image of page 1

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

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

Unformatted text preview: >> subplot(2,2,2) >> bar(Year,Temp),xlabel('Year'),ylabel('Temperature(Deg.C)') >> subplot(2,2,3) >> stairs(Year,Temp),xlabel('Year'),ylabel('Temperature(Deg.C)') >> x=[23,32,19,6]; >> pie(x), title('Grade Distribution'),gtext('A'),gtext('B'),gtext('C'),gtext('D')...
View Full Document

Page1 / 2

homework - >> subplot(2,2,2)...

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

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