TransWikia.com

Import data into Mathematica

Mathematica Asked by Bo Zhu on July 19, 2021

I have one question.I have got my data xy1 from Matlab.But when I import it into Mathematica,I get result as follow

  XY1 = Import["xy1.mat", Path -> "D:Matlabdata"]

enter image description here

My data xy1:

enter image description here

Sorry,I do not know how to import my data xy1.mat here.If you know,I will import it here.Thank you!

One Answer

If you have Matlab, why not transform format from ".mat" to ".csv". A MAT-file stores data in binary (not human-readable) form. You can find some information about MAT-file from this link: https://wenku.baidu.com/view/6d6ee6bd960590c69ec37646.html

But if you use Matlab transforn file format to "csv", then use Mathematica import data is very simple. You can use this Code:

Import["*.csv"]

Correct answer by J.W Kang on July 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP