How do I manipulate a column in a data file ??
1 次查看(过去 30 天)
显示 更早的评论
I have a data file with 10 columns and 28380 rows. I want to manipulate only the 7th column and reassign the values to the data. How do I do it ??
回答(1 个)
dpb
2015-11-3
If it is an ASCII data file, then read the file, do the computation(s) on the column in question and rewrite it.
If it were an Excel file you could use xlsread|xlswrite to read the specific column but there's not a general way to write a portion of a text file.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!