How to view the entire 3D object in XY plane and access the values from it

7 ビュー (過去 30 日間)
Varsha Radhakrishnan
Varsha Radhakrishnan 2021 年 8 月 17 日
コメント済み: darova 2021 年 8 月 19 日
I have 3 ellipsoids that I have created using the ellisoid function. I need to view the ellipsoid in XY and XZ axis and access the values of all the 3 ellipse for some other calculation. I am familar with the view function, but how could I access the values from it. Can somebody help / suggest how could I calulate it in matlab?
Thanks,

回答 (1 件)

darova
darova 2021 年 8 月 18 日
Try rotate
[x,y,z] = ellipsoid();
h = surf(x,y,z);
rotate(h,angle,dir,origin)
z1 = get(h,'zdata');
  8 件のコメント
Varsha Radhakrishnan
Varsha Radhakrishnan 2021 年 8 月 19 日
Thats great. Thanks @darova
darova
darova 2021 年 8 月 19 日
im jsut doing my job

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

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by