3D graphs with 3 variables function as Z

2 visualizzazioni (ultimi 30 giorni)
Mustafa
Mustafa il 3 Dic 2011
Hello to all could someone please tell me how to plot a 3d graph with x and y as distances and z as function that depends on 3 variabls ?! example: ???(x2,y2,q(n,ja,ka)) = (x,y,z) Regards

Risposte (1)

Naz
Naz il 3 Dic 2011
x=[1:10];
y=[1:10];
z=rand(1,10);
plot3(x,y,z)
  2 Commenti
Mustafa
Mustafa il 3 Dic 2011
it still doesn't accept z with more than 2 dimensions
Naz
Naz il 4 Dic 2011
I see. If your matrix z has size of XbyY, you can plot it as surf(x,y,z)

Accedi per commentare.

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by