Display 3D binary matrix on a high resolution rectangular grid

3 views (last 30 days)
I have 3D binary matrix on spherical coordinates. I have to convert them into rectangular coordinates and display the image in high resolution rectangular grid.
I used isosurface(M). it displays the image, but I want to display in the high resolution rectangular grid converting the points in cartesian coordinates.

Answers (1)

Ayush Bansal
Ayush Bansal on 1 Sep 2020
For getting image from 3D Binary matrix into a rectangular grid we can use ndgrid function.
For exporting the figure in high resolution you can use function exportgraphics and use ‘Resolution’ Property to set the dpi of the figure.

Sign in to comment.


Find more on Resizing and Reshaping Matrices 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!