csv to .mat file

5 ビュー (過去 30 日間)
aaliyan javaid
aaliyan javaid 2021 年 5 月 2 日
コメント済み: Image Analyst 2021 年 5 月 3 日
i want to convert data having 3 colums and rows 13000 how can i do that kindly help
  1 件のコメント
Image Analyst
Image Analyst 2021 年 5 月 3 日
Convert it from what into a 13000-by-3 matrix?

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

回答 (2 件)

John D'Errico
John D'Errico 2021 年 5 月 2 日
help csvread
help save
Perhaps you need to do the Onramp MATLAB tutorial?
  1 件のコメント
aaliyan javaid
aaliyan javaid 2021 年 5 月 2 日
no help found for csv read

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


EmirBeg
EmirBeg 2021 年 5 月 2 日
編集済み: EmirBeg 2021 年 5 月 2 日
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.

カテゴリ

Help Center および File ExchangeStandard File Formats についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by