draw parabola
16 views (last 30 days)
Show older comments
Write a Matlab m-file to input three points (x1,y1), (x2,y2) and (x3,y3) in the x-y plane, and to draw the function and output the equation of a parabola passing through these points.
haw can draw?
0 Comments
Accepted Answer
Sean de Wolski
on 28 Dec 2011
doc linspace
doc plot
doc ezplot %If you have the symbolic math toolbox
A few pointers.
2 Comments
More Answers (2)
emrah kara
on 28 Dec 2011
1 Comment
John D'Errico
on 28 Dec 2011
So? This is not the we do your homework site. Sean has already given you some hints to get started. Why not make a stab at it? If you have a problem with something, THEN ask a question.
Jose Jeremias Caballero
on 29 Dec 2011
Hello, you improve your question.
Your question would be:
1). Write a program in Matlab, to find the equation of the parabola with focal axis parallel to the X axis passing through the points (x1, y1), (x2, y2) and (x3, y3).
2). Write a program in Matlab, to find the equation of the parabola with focal axis parallel to the Y axis, passing through the points (x1, y1), (x2, y2) and (x3, y3).
3). Write a program in Matlab, to find the equation of the parabola passing through the points (x1, y1), (x2, y2) (x3, y3), (x4, y4) and (x5, y5).
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!