- #1
birdhen
- 35
- 0
Hi there,
I have yet another Matlab query.
I have an m=file that I am using to solve an ode.
This file has a constant (call it H) within the differential and when I use the ode solver in the command window returns values of z and r (this returns two 85x1 vectors which can be plotted against each other).
Now I want to make H vary between 4200 and 4400 and get 85 values of z and r for every step in H, i.e. I want to get a matrix of 85x200 for each of z and r.
I am sorry if this is not worded very well, I am a bit confused as I am a Matlab novice, if anyone could give me some tips that would be much appreciated.
Cheers
I have yet another Matlab query.
I have an m=file that I am using to solve an ode.
This file has a constant (call it H) within the differential and when I use the ode solver in the command window returns values of z and r (this returns two 85x1 vectors which can be plotted against each other).
Now I want to make H vary between 4200 and 4400 and get 85 values of z and r for every step in H, i.e. I want to get a matrix of 85x200 for each of z and r.
I am sorry if this is not worded very well, I am a bit confused as I am a Matlab novice, if anyone could give me some tips that would be much appreciated.
Cheers