how to select and save particulat part of a column in mat file?
5 ビュー (過去 30 日間)
古いコメントを表示
I have saved a CSV file as mat file and I could read it. the file has many column and each column has thousands of rows.
How can I access and select particular column and sets of rows of these column and save it as matfile?
mydata=readmatrix('TEST.csv');
0 件のコメント
採用された回答
Turlough Hughes
2021 年 8 月 24 日
編集済み: Turlough Hughes
2021 年 8 月 24 日
columns = [2 3 5];
rows = 50:100;
x = mydata(rows,columns);
save('mydata.mat','x')
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!