Plotting a 2d graph

3 visualizaciones (últimos 30 días)
Ibraheem
Ibraheem el 24 de Nov. de 2022
Respondida: Walter Roberson el 24 de Nov. de 2022
Can someone please help me in plotting a ellipse with a function
x^ 2 + 9y ^2 = 9

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Nov. de 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

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by