How to plot a graph of this matrix ?

조회 수: 2 (최근 30일)
Ian Samuelsson
Ian Samuelsson 2020년 3월 19일
댓글: Star Strider 2021년 10월 18일
i can't plot the 3D graph
  댓글 수: 8
Ian Samuelsson
Ian Samuelsson 2020년 3월 22일
wow is that wat i want, thank you so mutch man, have a good day !!
Star Strider
Star Strider 2020년 3월 22일
In that case, I posted it as an Answer!
I would very much appreciate it if you Accept it!

댓글을 달려면 로그인하십시오.

채택된 답변

Star Strider
Star Strider 2020년 3월 22일
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
Ian Samuelsson
Ian Samuelsson 2021년 10월 18일
sorry for the wait mate, you deserve the accept answer !!!
Star Strider
Star Strider 2021년 10월 18일
Thank you!
.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Directed Graphs에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by