- #1

FlvD

- 4

- 0

i have the following code

>>for i=1:5

>>tspan=[0 30]

>>h0=Hv(i)

>>[t,h]=ode45['a ODEfunction',tspan,h0]

>>plot(t,h)

>>end

in this loop how can i save 5 values of [t,h],

as t, h produces each loop run like follows

t=

1

2

3

4

.

.

.

h=

5

6

7

8..

also i need to plot all of them n i could view the 5 graphs them..pls help..