Plotting a 2d graph

2 Ansichten (letzte 30 Tage)
Ibraheem
Ibraheem am 24 Nov. 2022
Beantwortet: Walter Roberson am 24 Nov. 2022
Can someone please help me in plotting a ellipse with a function
x^ 2 + 9y ^2 = 9

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by