Info

This question is closed. Reopen it to edit or answer.

Convert text file in to matlab file

1 view (last 30 days)
Abd ullah
Abd ullah on 5 Sep 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
i have 72 text files. each file have 2 column. 1st column is time, and 2nd column is displacement. the time column is same for the all 72 text files. and displacement is different for each text file. i want to convert all these file into one matlab file such that 1st column is time and the rest 72 coulmns is displacement from each text file. how i can do this please help me.
thank you

Answers (1)

Daly Gutierrez
Daly Gutierrez on 5 Sep 2020
Maybe the article titled Read Collection or Sequence of Text Files in the documentation can help you. Or type the title in MATLAB's Search Documentation search bar and it'll allow you open a live script for you to modify it for your purpose. Good luck!

Community Treasure Hunt

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

Start Hunting!