3-D surface plot with an array

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

 Risposta accettata

Walter Roberson
Walter Roberson il 18 Mag 2016

0 voti

See scatteredInterpolant

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by