Ploting a 3d figure by exel data

1 view (last 30 days)
Niloofar Moosavi
Niloofar Moosavi on 19 Aug 2022
Answered: KSSV on 19 Aug 2022
I need to plot this plot by this exel file with those scale of z what is it code
<<../o>>
?

Answers (1)

KSSV
KSSV on 19 Aug 2022
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') ;

Categories

Find more on Earth and Planetary Science in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!