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 日

0 投票

See scatteredInterpolant

1 件のコメント

Shan  Chu
Shan Chu 2016 年 5 月 19 日
Thanks.I did it :D

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

質問済み:

2016 年 5 月 18 日

コメント済み:

2016 年 5 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by