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

3 visualizzazioni (ultimi 30 giorni)
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 ?

Risposta accettata

VBBV
VBBV il 14 Mar 2023
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

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by