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 CenterFile 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