Documentos de Académico
Documentos de Profesional
Documentos de Cultura
TP
TP
EX04
A1=1:7;
A2=9:-2:-3;
%A3=
A=2;
for i=1:7
Aa=A*2
A=Aa;
A3(i)=Aa
end
B=[A1;A2;A3]
Exo5
Xlabel(‘x axis’)
Ymabel(‘y axis’)
Titel(‘x vs. y and z)
Exo6
Vsphere = (4*pi/3)*(r0^3-r1^3);
r0=5
r1=9
Vsphere=-2.5300e+03
Exo7)
1 plot(x,y, ‘-‘)
2plot(x,y,’ --’)
Plot(x,y,’ :’)
Plot(x,y, ‘-.’)
1 plot(x,y, ‘ r - ‘)
1 plot(x,y, ‘ g - ‘)
1 plot(x,y, ‘- ‘)
1 plot(x,y, ‘ w - ‘)
1 plot(x,y, ‘ k - ‘)