Clear Filters
Clear Filters

3-D surface plot with an array

1 view (last 30 days)
Shan  Chu
Shan Chu on 18 May 2016
Commented: Shan Chu on 19 May 2016
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

Accepted Answer

Walter Roberson
Walter Roberson on 18 May 2016
See scatteredInterpolant

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!