Plotting streamlines in polar coordinates

52 ビュー (過去 30 日間)
Carlos Martinez
Carlos Martinez 2023 年 3 月 17 日
コメント済み: Carlos Martinez 2023 年 3 月 17 日
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 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 3 月 17 日
Use quiver() plot function to plot vector fields -see this documentation:
  1 件のコメント
Carlos Martinez
Carlos Martinez 2023 年 3 月 17 日
I have the vector field already but it's the streamlines that fail to appear on the graph

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by