フィルターのクリア

I want to plot a 3d image of the set of values attached herewith. i am also enclosing the possible image that will be the output of the desired Matlab code.

3 ビュー (過去 30 日間)
Kindly share the Matlab code for the plot of the following set of 3 tuples values.

採用された回答

KSSV
KSSV 2020 年 6 月 10 日
編集済み: KSSV 2020 年 6 月 10 日
data = xlsread('Book1.xlsx') ;
x = data(:,1) ;
y = data(:,2) ;
z = data(:,3) ;
nx = length(unique(x)) ;
ny = length(unique(y)) ;
X = reshape(x,nx,ny) ;
Y = reshape(y,nx,ny) ;
Z = reshape(z,nx,ny) ;
surf(X,Y,Z)
shading interp
colorbar
  4 件のコメント
RAHUL AGARWAL
RAHUL AGARWAL 2020 年 6 月 10 日
okay thanks again
can we find the plot similar to that of the file i attached here. Mesh in grapls and legend .
KSSV
KSSV 2020 年 6 月 10 日
Thanks is accepting the answer.
What I have showed is the way to plot. It depends on whether your data is given for the shown figure or not.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-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