Plot solutions to a multi variable system: x + 2y + 3z = 4

2 vues (au cours des 30 derniers jours)
Risk
Risk le 14 Juin 2020
Commenté : Catalytic le 15 Juin 2020
Not sure how to do this, I tried fplot but nothing showed up. It should look like a tilted plane

Réponse acceptée

Rafael Hernandez-Walls
Rafael Hernandez-Walls le 14 Juin 2020
if using mesh, and plot3
[y,z]=meshgrid(-4:.1:4,-4:.1:4);
x=4-3*z-2*y;
mesh(y,z,x)
plot3(x,y,z,'o');

Plus de réponses (1)

madhan ravi
madhan ravi le 14 Juin 2020
doc fimplicit3
  1 commentaire
Catalytic
Catalytic le 15 Juin 2020
Yes! Definitely the better solution.

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by