フィルターのクリア

drawing a parabola given distance between vertex and focus, and angle of parabola

4 ビュー (過去 30 日間)
Namrata
Namrata 2011 年 2 月 17 日
how to draw a parabola if distance between its vertex and focus is given and also the angle of parabola is given?

採用された回答

suresh
suresh 2011 年 2 月 17 日
% y=x^2/4p
% p is focal distance from vertex
%(x,y) is any point on curve
x=linspace(-5,5,100); % 100 point on curve
p=5; %
y=(x.^2)/4*p;
plot(x,y);
hold on;
stem(0,p,'r');
  1 件のコメント
maram
maram 2011 年 5 月 9 日
hi,
i am beginner in Matlab. i really need to know howa to draw a parabola if distance between its vertex and focus is given and also the angle of parabola is given.
i need a clear code plz
thnaks

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

その他の回答 (1 件)

maram
maram 2011 年 5 月 9 日
plz how can i show the results on my image??

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by