フィルターのクリア

Surface Plot, 3D plot

2 ビュー (過去 30 日間)
Anshul Jain
Anshul Jain 2022 年 12 月 20 日
回答済み: Voss 2022 年 12 月 20 日
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

回答 (1 件)

Voss
Voss 2022 年 12 月 20 日
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')

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by