I receive an error when I pass a binary input to the MESH command. For example
executing
A = rand(3,3);B = A > 0.5;% B is binary matrix;
mesh(B);
throws the following error.
??? Error using ==> graph3d.surfaceplot.surfaceplot>localConstructor at 92 Invalid input arguments Error in ==> mesh at 103 hh = graph3d.surfaceplot(x,'FaceColor',fc,'EdgeColor','flat', ...
Best Answer