フィルターのクリア

3D paraboloid plotting help

38 ビュー (過去 30 日間)
Wajahat Farrukh
Wajahat Farrukh 2020 年 7 月 1 日
編集済み: DGM 2024 年 2 月 21 日
Hello everyone,
I have a 3D plane on which i would like to draw a 3D elliptic paraboloid. The equation for elliptic paraboloid is given below
z/c=(x.^2)/(a.^2) + (y.^2)/(b.^2);
and with demonstration of parameters are given in the link
i am looking for a function or script to plot a elliptic paraboloid on a specific location (x and y axis) on my 3D axis plane. with a specified height of paraboloid.
i have attached my 3D axis, x- and y-axis are either theta or phi. and the height of paraboloid is the RCS axis.
i have attached an examplary figure of the desired output. elliptic paraboloid on a specific x- and y- axis with specified height value.
I tried to do it myself , then tried to look on MATLAB forums but could not find.
Thank alot
Best Regards
  2 件のコメント
darova
darova 2020 年 7 月 2 日
Plot ellipsoid as usually, use rotate to rotate the object
Wajahat Farrukh
Wajahat Farrukh 2020 年 7 月 2 日
there is the problem, i am unable to plot eppilsoid. :(
could you help me in the code to plot ellipsoid?

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

回答 (2 件)

Vashist Hegde
Vashist Hegde 2020 年 7 月 3 日
You may find this usefull in plotting an ellipsoid-

Luis Coria
Luis Coria 2024 年 2 月 21 日
編集済み: DGM 2024 年 2 月 21 日
%%%%%%%%%%% Eliptic Paraboloid -(X1.^2+Z1.^2)/2-1<=Y1<=(X1.^2+Z1.^2)/2+1;
[X1,Z1] = meshgrid(-10:0.5:10,-10:0.5:10);
Y1=(X1.^2+Z1.^2)/2+1;
surf(X1,Y1,Z1,'FaceColor',[0.9412 0.9412 0.9412],'FaceAlpha',1,'LineWidth',0.5);
hold on
Y1=-(X1.^2+Z1.^2)/2-1;
surf(X1,Y1,Z1,'FaceColor',[0.9412 0.9412 0.9412],'FaceAlpha',1,'LineWidth',0.5);
%%%%%%%%%%% End Eliptic Paraboloid
Maybe this code is useful for you, that gives

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by