Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab- solving odes for a matrix

  1. Sep 18, 2008 #1
    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
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted



Similar Discussions: Matlab- solving odes for a matrix
Loading...