Ploting a 3d figure by exel data

3 visualizzazioni (ultimi 30 giorni)
Niloofar Moosavi
Niloofar Moosavi il 19 Ago 2022
Risposto: KSSV il 19 Ago 2022
I need to plot this plot by this exel file with those scale of z what is it code
<<../o>>
?

Risposte (1)

KSSV
KSSV il 19 Ago 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') ;

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by