Problems animating a surf plot.
古いコメントを表示
Hello all, I am employing MATLAB to solve some basic PDEs (transport equation) using various numerical schemes. I have no problem creating a 2-d movie of the solution over time. However, when I try the same trick with surf, I either just get the plot of the final frame, or if I try to index it, I get the error:

Error using surf (line 69) Z must be a matrix, not a scalar or vector.
How can I fix this? Below I've attached my code, I appreciate all the help.
W.U.
1 件のコメント
Image Analyst
2016 年 3 月 12 日
編集済み: Image Analyst
2016 年 3 月 12 日
Note: REQUIRES SYMBOLIC TOOLBOX (so I can't run it). I've added that to the product list.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Geometry and Mesh についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!