How to plot this ellipse

1 view (last 30 days)
Keshav
Keshav on 11 Aug 2022
Commented: Keshav on 14 Aug 2022
I tried this; but did not get answer like in textbook. Please see my code and image.Kindly help
[x,y] = meshgrid(-300000:10000:600000);
z=(x.^2-15.156*x*y+229.7*y.^2+488.8*1000.0*1000.0+6844000*y-4.752*10.^10);
surf(x,y,z)
,y,z)
  2 Comments
Keshav
Keshav on 11 Aug 2022
thanks a lot.

Sign in to comment.

Answers (1)

KSSV
KSSV on 11 Aug 2022
syms s1 s2
t = 0 ;
eqn = s1^2-15.156*s1*s2+229.7*s2^2+488.8*t^2+6844000*s2==4.752*10^10 ;
fimplicit(eqn,[-600000 200000 -100000 20000])
  3 Comments
Keshav
Keshav on 14 Aug 2022
Thanks!!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!