MATLAB: How to draw a 3D plot from an excel data

3d3d plotssurf

How to draw a 3D plot from an excel data? Please click for downloading following Excel Data (or find attachment)
(maybe mesh 3d plot or surfc plot)
(First column is x-values, first row is y-values.)

Best Answer

num = xlsread('test3.xlsx') ;
x = num(2:end,1) ;
y = num(1,2:end) ;
Z = num(2:end,2:end) ;
surf(x,y,Z')