SURF 2D. How is possible.

1 回表示 (過去 30 日間)
Nuchto
Nuchto 2013 年 3 月 6 日
How is that SURF makes 3D plots of 2D data? What data is suited for this? Newbie alert :)

採用された回答

ChristianW
ChristianW 2013 年 3 月 6 日
MATLAB help is great.
doc surf
Quote: surf(Z) creates a three-dimensional shaded surface from the z components in matrix Z, using x = 1:n and y = 1:m, where [m,n] = size(Z).
Btw, plot does the same thing:
Y = sin(1:10);
plot(Y) % 1D data, 2D plot using the index of the data as missing dimension

その他の回答 (1 件)

Youssef  Khmou
Youssef Khmou 2013 年 3 月 6 日
hi Nuchto
you also have to ask : HOW plot make 2D representation of 1D data? i think that this is about theoretical conceptions

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by