Ploting a 3d figure by exel data

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 日

0 投票

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') ;

カテゴリ

ヘルプ センター および File ExchangeLanguage Fundamentals についてさらに検索

製品

リリース

R2018b

質問済み:

2022 年 8 月 19 日

回答済み:

2022 年 8 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by