Streamlines in MATLAB

  • MATLAB
  • Thread starter Az83
  • Start date
  • #1
Az83
7
0
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?
 

Answers and Replies

  • #2
zyh
137
0
sorry, I can't understand your question...
 
  • #3
JohnSimpson
92
0
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
 

Suggested for: Streamlines in MATLAB

  • Last Post
Replies
6
Views
131
  • Last Post
Replies
2
Views
629
  • Last Post
Replies
4
Views
229
Replies
1
Views
460
Replies
10
Views
1K
Replies
1
Views
743
  • Last Post
Replies
9
Views
935
  • Last Post
Replies
2
Views
763
  • Last Post
Replies
1
Views
653
Replies
0
Views
696
Top