matlab array to numpy array

7 visualizaciones (últimos 30 días)
Muneeb Hassan
Muneeb Hassan el 15 de Mzo. de 2017
Comentada: Walter Roberson el 20 de Jul. de 2017
I want to convert the matlab array of dimension 60000x784 to numpy array to use in python. Is there anyway I can do that?

Respuestas (1)

ES
ES el 15 de Mzo. de 2017
write the numpy array into mat file and load it into MATLAB.
  2 comentarios
Muneeb Hassan
Muneeb Hassan el 15 de Mzo. de 2017
I have the .mat file. I want the variables in .mat store as separate variable in numpy array.
Walter Roberson
Walter Roberson el 20 de Jul. de 2017
Steven comments to J Smith:
This answer could be better than a 1 line sentence that anyone could figure out. It doesn't even include code

Iniciar sesión para comentar.

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by