-2
我有三个载体:如何使用三个矢量在matlab中绘制曲面?
a (1500 x 1)
b (1500 x 1)
c (1500 x 1)
当我使用surf(a, b, c)
那么它提供了以下错误:
Error using surf (line 57)
Z must be a matrix, not a scalar or vector.
我要画面这三个载体。我怎样才能做到这一点?
我有三个载体:如何使用三个矢量在matlab中绘制曲面?
a (1500 x 1)
b (1500 x 1)
c (1500 x 1)
当我使用surf(a, b, c)
那么它提供了以下错误:
Error using surf (line 57)
Z must be a matrix, not a scalar or vector.
我要画面这三个载体。我怎样才能做到这一点?
错误信息清楚地告诉是什么问题。在你的情况下,'c'是一个向量。它应该是一个矩阵,而不是! –