Plot a 3d surface
1 次查看(过去 30 天)
显示 更早的评论
I need to plot exactly this photo from my exel data. What is it's code? i what z scale as the picture
回答(1 个)
KSSV
2022-8-19
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1101840/Ex12.xlsx') ;
data = table2array(T) ;
x = data(1,2:end) ;
y = data(2:end,1) ;
Z = data(2:end,2:end) ;
mesh(x,y,Z') ;
5 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!