How to plot a function in spherical coordinates?

조회 수: 7 (최근 30일)
Wiqas Ahmad
Wiqas Ahmad 2021년 7월 5일
댓글: Wiqas Ahmad 2021년 7월 5일
I want to plot the followig function in spherical corrdinates with alpha=0-pi, and beta=0-2*pi. P11 and P12 are row vectors in my directory. P11 is dependent on angle alpha while P12 on angle beta.
The figure I need to obtain is given as

답변 (1개)

Srijan Jain
Srijan Jain 2021년 7월 5일
Hi,
I understand that you're trying to plot spherical coordinates.
You may want to try: 3D Polar Plot
Thanks
Srijan
  댓글 수: 1
Wiqas Ahmad
Wiqas Ahmad 2021년 7월 5일
Actually not. What I want is to plot this function on a sphere to obtain the figure mentioned in the question below which is exactly obtained from the same function with a slight different parameter values.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by