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

1 次查看(过去 30 天)
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