How to plot a graph of this matrix ?

1 view (last 30 days)
i can't plot the 3D graph
  8 Comments
Ian Samuelsson
Ian Samuelsson on 22 Mar 2020
wow is that wat i want, thank you so mutch man, have a good day !!
Star Strider
Star Strider on 22 Mar 2020
In that case, I posted it as an Answer!
I would very much appreciate it if you Accept it!

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 22 Mar 2020
I would like to see the code that produced that plot from those equations.
This is as close as I can get to it:
x = [-1 1]*20-5;
y = [-1 1]*20-5;
z = -[x + y - 1;
2*x - y - 5;
(4*x + y - 7)/3];
figure
surf(x,y,[1;1]*z(1,:))
hold on
surf(x,y,[1;1]*z(2,:))
surf(x,y,[1;1]*z(3,:))
hold off
grid on
axis square
  2 Comments
Ian Samuelsson
Ian Samuelsson on 18 Oct 2021
sorry for the wait mate, you deserve the accept answer !!!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!