Streamlines in MATLAB

  1. I'm not sure how to do this... I have the following velocity field:

    t = [1,5,10] % in seconds
    u=5*t*y
    v=2*t^2*x^2

    How do I plot in MATLAB the streamlines going through (x0,y0) = (0,0) at t = 1,5, and 10 s?
     
  2. jcsd
  3. sorry, I can't understand your question...
     
  4. to start, create range vectors for x y and t, and evaluate your u and v into two more vectors

    look into the quiver command in help as well
     
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?