How do I manipulate a column in a data file ??

1 回表示 (過去 30 日間)
Add
Add 2015 年 11 月 3 日
回答済み: dpb 2015 年 11 月 3 日
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 件のコメント
TastyPastry
TastyPastry 2015 年 11 月 3 日
What kind of data file is it? .xlsx, .csv, etc.?

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

回答 (1 件)

dpb
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.

カテゴリ

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