3-D surface plot with an array

1 vue (au cours des 30 derniers jours)
Shan  Chu
Shan Chu le 18 Mai 2016
Commenté : Shan Chu le 19 Mai 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

Réponse acceptée

Walter Roberson
Walter Roberson le 18 Mai 2016
See scatteredInterpolant
  1 commentaire
Shan  Chu
Shan Chu le 19 Mai 2016
Thanks.I did it :D

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by