Clear Filters
Clear Filters

how to take two columns of two separate files and contain them in one file ?

2 views (last 30 days)
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

Accepted Answer

Star Strider
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.

More Answers (0)

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!