Plotting streamlines in polar coordinates

I'm attempting to plot flow past a cylinder and figured out how to get the vector field to appear on the plot but the streamlines won't appear. I used the stream function psi=y.*(1-(1./r^2));

回答(1 个)

Use quiver() plot function to plot vector fields -see this documentation:

1 个评论

I have the vector field already but it's the streamlines that fail to appear on the graph

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Vector Fields 的更多信息

产品

版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by