Borrar filtros
Borrar filtros

How to extract a matrix from a .fig in Matlab?

8 visualizaciones (últimos 30 días)
Sachin Nag
Sachin Nag el 21 de Abr. de 2017
Respondida: Image Analyst el 21 de Abr. de 2017
I have a Matlab .fig file. (Basically a pcolor plot). I want to extract the matrix (like rows and columns into an array variable) from this image. How do I do this? Thanks for any inputs or pointers.

Respuestas (1)

Image Analyst
Image Analyst el 21 de Abr. de 2017
Use getimage() or getframe() depending on what you want to do. Or you can use export_fig to export the whole axes or figure to an image file, like a .PNG file.

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by