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 Center および File Exchange2-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