how to take two columns of two separate files and contain them in one file ?
2 views (last 30 days)
Show older comments
Hi All
I want to take the first column of the txt file named T and the 5 th column of the other file X , and put them in one file , both have 1000 rows , how do I do this ?
thank you so much
0 Comments
Accepted Answer
Star Strider
on 7 Apr 2015
You have to read both files, then create a third file and write both columns to it. How you do this depends on what format the files are.
0 Comments
More Answers (0)
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!