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

3 Ansichten (letzte 30 Tage)
Add
Add am 3 Nov. 2015
Beantwortet: dpb am 3 Nov. 2015
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 ??

Antworten (1)

dpb
dpb am 3 Nov. 2015
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.

Kategorien

Mehr zu Standard File Formats finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by