フィルターのクリア

Using Surf function with matrix

2 ビュー (過去 30 日間)
Scott Dean Seedell
Scott Dean Seedell 2020 年 8 月 1 日
回答済み: Alan Stevens 2020 年 8 月 1 日
Can anyone give a quick solution how I can generate a surface plot using 3x column matrix (C attached).
when using: surf(C(:,1),C(:,2),C(:,3))
I get the message 'Z must be a matrix, not a scalar or vector'
Thanks
  1 件のコメント
Sriram Tadavarty
Sriram Tadavarty 2020 年 8 月 1 日
Try directly surf(C) and see if the output is as expected.

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

回答 (2 件)

madhan ravi
madhan ravi 2020 年 8 月 1 日

Alan Stevens
Alan Stevens 2020 年 8 月 1 日
What about simply:
surf(C)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by