How to remove first three columns from a text file?

5 views (last 30 days)
DC
DC on 12 Feb 2016
Commented: Jan on 18 Dec 2018
Want to have a text file with only the last four column values. Thanks
  2 Comments
Jan
Jan on 18 Dec 2018
@Cg Gc: Please do not hijack an existing thread by injecting a new question in the section for comments. Prefer to open a new questions.

Sign in to comment.

Answers (1)

Jon
Jon on 13 Feb 2016
blah = importdata('1_rowdel.txt');
datayouwant = blah.data;
save('mydata.txt','datayouwant','-ascii')

Community Treasure Hunt

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

Start Hunting!