Ploting a 3d figure by exel data

1 次查看(过去 30 天)
Niloofar Moosavi
Niloofar Moosavi 2022-8-19
回答: KSSV 2022-8-19
I need to plot this plot by this exel file with those scale of z what is it code
<<../o>>
?

回答(1 个)

KSSV
KSSV 2022-8-19
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1101815/Ex12.xlsx') ;
data = table2array(T) ;
x = data(1,2:end) ;
y = data(2:end,1) ;
Z = data(2:end,2:end) ;
pcolor(x,y,Z') ;

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by