Streamline pathline and streakline

13 views (last 30 days)
Garland
Garland on 20 Dec 2021
Commented: Garland Garland on 23 Dec 2021

Hi, can you help me to plot 2D streamline, pathline and streakline in MATLAB for u=sin(t) , v= 2t

  1 Comment
Garland Garland
Garland Garland on 23 Dec 2021
t = linspace(0,2*pi) ; u = sin(t) ; v = 2*t ; [u,v] = meshgrid(u,v) ; streamslice(u,v)

Sign in to comment.

Answers (1)

KSSV
KSSV on 21 Dec 2021
t = linspace(0,2*pi) ;
u = sin(t) ;
v = 2*t ;
[u,v] = meshgrid(u,v) ;
streamslice(u,v)

Categories

Find more on Mathematics and Optimization in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!