Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
how to draw a parabola if distance between its vertex and focus is given and also the angle of parabola is given?

Respuesta aceptada

suresh
suresh el 17 de Feb. de 2011
% 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 comentario
maram
maram el 9 de Mayo de 2011
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

Iniciar sesión para comentar.

Más respuestas (1)

maram
maram el 9 de Mayo de 2011
plz how can i show the results on my image??

Categorías

Más información sobre Point Cloud Processing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by