How can i plot the graph from the 3 variables equation ?

조회 수: 2 (최근 30일)
siwakorn phakdee
siwakorn phakdee 2023년 3월 14일
댓글: siwakorn phakdee 2023년 3월 14일
I have the 3 variables eqaution, for example X = A(B+25)
Where A = 0:500:2000 and B = 0:1:100
How can I get all of the answers of X variable and plot the graph of the X, A, and B variables ?

채택된 답변

VBBV
VBBV 2023년 3월 14일
A = 0:500:2000;
B = 0:1:100;
[AA BB] = meshgrid(A,B);
X = AA.*(BB+25);
surf(AA,BB,X)
xlabel A
ylabel B
zlabel X

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by