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.

댓글을 달려면 로그인하십시오.

카테고리

태그

질문:

2020년 8월 1일

답변:

2020년 8월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by