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

Not sure how to do this, I tried fplot but nothing showed up. It should look like a tilted plane

 采纳的回答

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');

类别

Community Treasure Hunt

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

Start Hunting!

Translated by