How can I create a graphic which variables are in a cell array?
1 view (last 30 days)
Show older comments
How can I create a graphic which variables are in a cell array, with command mesh?
0 Comments
Answers (1)
Walter Roberson
on 17 Jun 2018
You cannot do that without deferencing the cell array, such as in
mesh(MyCell{1}, MyCell{2}, MyCell{3})
2 Comments
Walter Roberson
on 17 Jun 2018
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.
See Also
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!