フィルターのクリア

plot conical surface knowing circle points cordinates and vertex cordinates

1 回表示 (過去 30 日間)
Simone Giannattasio
Simone Giannattasio 2022 年 7 月 18 日
回答済み: Star Strider 2022 年 7 月 18 日
Hello everybody,
I need to draw a conical surface that links the points of a circle (for which i have the cartesian coordinates) and a vertex point ( for which I have the cartesian coordinates too). The porpouse is to draw a conical coverage beam of a satellite of which i know the orbital coordinates (vertex) and the projection converage area edge points on the planet surface.
I can't figure it out how to do it. Some help would be really apprecciated.
Thank you very much!

回答 (1 件)

Star Strider
Star Strider 2022 年 7 月 18 日
Two options —
r = [5; 0.01]; % [lower radius; upper radius]
t = linspace(0, 2*pi,200); % Parameter
xy = [cos(t); sin(t)]; % Generic Circle
figure
surf(r.*[xy(1,:); xy(1,:)], r.*[xy(2,:); xy(2,:)], [0; 25].*ones(2,numel(t)))
colormap(turbo)
shading('interp')
axis('equal')
[X,Y,Z] = cylinder(r,200);
figure
surf(X,Y,[0;25].*Z)
colormap(turbo)
shading('interp')
axis('equal')
.

カテゴリ

Help Center および File ExchangeEarth and Planetary Science についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by