필터 지우기
필터 지우기

3-D surface plot with an array

조회 수: 1 (최근 30일)
Shan  Chu
Shan Chu 2016년 5월 18일
댓글: Shan Chu 2016년 5월 19일
Dear all, I have a matrix A=[n,3] which
A(n,1) is the x-coordinate,
A(n,2) is the y-coordinate,
A(n,3) is the magnitude.
I want to plot a surface but the command 'surf' requires A(n,3) is a matrix of size of A(n,1) and A(n,2) Could you please help. Thanks

채택된 답변

Walter Roberson
Walter Roberson 2016년 5월 18일
See scatteredInterpolant
  댓글 수: 1
Shan  Chu
Shan Chu 2016년 5월 19일
Thanks.I did it :D

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by