MATLAB: How to plot 3D matrix in form of cube 3d cube Hello everyone, I have a 3D matrix of size [t, x, y]=size(D), where t=300; x=12 and y=12. How to plot t with respect to x, y for 3D cube ? Thanks Best Answer Use the slice function.HTH Related SolutionsMATLAB: How to plot multiple cubes if I know the x,y,z centroids and dimension You can use plotregion from the File Exchange,https://www.mathworks.com/matlabcentral/fileexchange/9261-plot-2d-3d-regionlb=centroid-dimension/2;ub=centroid+dimension/2;plotregion([],[],lb,ub); MATLAB: How to plot 3-d matrix in the form of cube See this code. It will be helpful to plot a cube. https://in.mathworks.com/matlabcentral/fileexchange/15161-plotcube Related QuestionHow to modify the coordinate of a 3D cube
Best Answer