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

1 次查看(过去 30 天)
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

采纳的回答

Star Strider
Star Strider 2015-4-7
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 个)

类别

Help CenterFile Exchange 中查找有关 Standard File Formats 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by