plot in spherical coordinate

14 ビュー (過去 30 日間)
Morteza.Moslehi
Morteza.Moslehi 2017 年 5 月 4 日
回答済み: KSSV 2017 年 5 月 4 日
Hello I have a question about demonstrating my point in spherical coordinate. My Question is about acquiring plot in spherical coordinates. In fact, i found the distance of my object in rectangular coordinates by this equation:
{r}= h^2/mu*(1+e.cos(theta) * { cos(theta); sin(theta); 0}
And in the next step i transfered them to spherical coordinates by this code:
[teta,phi,r]=cart2sph(r(1),r(2),r(3))
Now, i want to plot my data in spherical coordinates. How can I do this? Would you please help me? Regards
  2 件のコメント
KSSV
KSSV 2017 年 5 月 4 日
You convert spherical coordinates to Cartesian and plot in Cartesian using plot/plot3
Morteza.Moslehi
Morteza.Moslehi 2017 年 5 月 4 日
So, you mean, there is Not any plot for demonstrating in spherical coordinate.. right?

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

回答 (1 件)

KSSV
KSSV 2017 年 5 月 4 日
It would be better to plot in Cartesian coordinates. You may have a look into following file exchange codes:

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by