Plotting a 2d graph

1 view (last 30 days)
Ibraheem
Ibraheem on 24 Nov 2022
Answered: Walter Roberson on 24 Nov 2022
Can someone please help me in plotting a ellipse with a function
x^ 2 + 9y ^2 = 9

Accepted Answer

Walter Roberson
Walter Roberson on 24 Nov 2022
a = randi([1 5])
a = 5
b = randi([1 5])
b = 1
c = randi([3 10])
c = 3
syms x y
fimplicit( a*x^2 + b*y^2 == c ); axis equal

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!