>> t = 0:0.1:1
t =
Columns 1 through 7
0 0.1000 0.2000 0.3000 0.4000 0.5000 0.6000
Columns 8 through 11
0.7000 0.8000 0.9000 1.0000
>> w = -0.5*t.^2
w =
Columns 1 through 7
0 -0.0050 -0.0200 -0.0450 -0.0800 -0.1250 -0.1800
Columns 8 through 11
-0.2450 -0.3200 -0.4050 -0.5000
>> plot (t,w)
No hay comentarios:
Publicar un comentario