Plotting a 2d graph

2 visualizzazioni (ultimi 30 giorni)
Ibraheem
Ibraheem il 24 Nov 2022
Risposto: Walter Roberson il 24 Nov 2022
Can someone please help me in plotting a ellipse with a function
x^ 2 + 9y ^2 = 9

Risposta accettata

Walter Roberson
Walter Roberson il 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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by