Plot a 3d surface
조회 수: 4 (최근 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에서 Polar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
