csv to .mat file

2 visualizaciones (últimos 30 días)
aaliyan javaid
aaliyan javaid el 2 de Mayo de 2021
Comentada: Image Analyst el 3 de Mayo de 2021
i want to convert data having 3 colums and rows 13000 how can i do that kindly help
  1 comentario
Image Analyst
Image Analyst el 3 de Mayo de 2021
Convert it from what into a 13000-by-3 matrix?

Iniciar sesión para comentar.

Respuestas (2)

John D'Errico
John D'Errico el 2 de Mayo de 2021
help csvread
help save
Perhaps you need to do the Onramp MATLAB tutorial?
  1 comentario
aaliyan javaid
aaliyan javaid el 2 de Mayo de 2021
no help found for csv read

Iniciar sesión para comentar.


EmirBeg
EmirBeg el 2 de Mayo de 2021
Editada: EmirBeg el 2 de Mayo de 2021
To get the .csv data try
readtable('filename'); %imports the .csv data
If you need to specify your delimiters you need to change the opts file but usually it's not needed.
doc opts; % all the information you need
To save it in a .mat file try
save('Data'); % saves Workspace in a .mat file named Data
As John said, those are basics you can learn by looking at the docs.
You can also import the data via the Import-Data Button when you press Home, and then create a function of your Import that does it automatically.

Categorías

Más información sobre Large Files and Big Data 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