how to select and save particulat part of a column in mat file?
8 次查看(过去 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!