matlab array to numpy array

I want to convert the matlab array of dimension 60000x784 to numpy array to use in python. Is there anyway I can do that?

回答 (1 件)

ES
ES 2017 年 3 月 15 日

0 投票

write the numpy array into mat file and load it into MATLAB.

2 件のコメント

Muneeb Hassan
Muneeb Hassan 2017 年 3 月 15 日
I have the .mat file. I want the variables in .mat store as separate variable in numpy array.
Walter Roberson
Walter Roberson 2017 年 7 月 20 日
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

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2017 年 3 月 15 日

コメント済み:

2017 年 7 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by