How can I create a graphic which variables are in a cell array?
1 次查看(过去 30 天)
显示 更早的评论
How can I create a graphic which variables are in a cell array, with command mesh?
0 个评论
回答(1 个)
Walter Roberson
2018-6-17
You cannot do that without deferencing the cell array, such as in
mesh(MyCell{1}, MyCell{2}, MyCell{3})
2 个评论
Walter Roberson
2018-6-17
The above command shows one cell array with three entries in it.
You would get that error message if you called
mesh(Z)
or
mesh(X, Y, Z)
but your Z was not a numeric 2D array, such as if it was a vector or if it was 3D.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cell Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!