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

 採用された回答

Rafael Hernandez-Walls
Rafael Hernandez-Walls 2020 年 6 月 14 日

1 投票

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

その他の回答 (1 件)

madhan ravi
madhan ravi 2020 年 6 月 14 日

2 投票

doc fimplicit3

1 件のコメント

Catalytic
Catalytic 2020 年 6 月 15 日
Yes! Definitely the better solution.

サインインしてコメントする。

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by