1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Streamlines in MATLAB

  1. May 3, 2008 #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. May 14, 2008 #2

    zyh

    User Avatar

    sorry, I can't understand your question...
     
  4. May 16, 2008 #3
    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 this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Streamlines in MATLAB
  1. Matlab and physics (Replies: 3)

  2. MATLAB problem (Replies: 1)

  3. MATLAB histogram (Replies: 3)

Loading...