Surface Plot, 3D plot
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Dear sir,
I have three variables (X, Y and Z) with different dimensions i.e., the number of X values are 5, the number of Y values are 4 and number of Z values are 20.
How to get the surface plot between them?
A word file is attached here for the reference.
Kindly help!!!
Thanks in advance
0 Kommentare
Antworten (1)
Voss
am 20 Dez. 2022
X = [1.6 1.4 1.2 1 0.8]; % in terms of r
Y = [0.3 0.5 0.7 1]; % in terms of r
Z = [0.093 0.072 0.053 0.027 0.0005; ...
0.165 0.097 0.06 0.058 0.021 ; ...
0.226 0.134 0.11 0.089 0.043 ; ...
0.301 0.205 0.163 0.146 0.104 ];
surf(X,Y,Z)
xlabel('X/r')
ylabel('Y/r')
zlabel('Z')
0 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!