Info

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

Bringing Numbers from txt file

1 view (last 30 days)
SAZZAD HOSSAIN
SAZZAD HOSSAIN on 16 Apr 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello
I have a text file that has two columns of numbers and there are around 4000 rows. when i try to open the file with excel, then it shows both the columns at the same column where i need them into two columns. I am trying to bring the data into two different arrays in matlab so i can plot it. But i havent been able to figure out a way to do that. can you please tell me what sort of commands do i need to use here?
Thanks Sazzad
  1 Comment
Walter Roberson
Walter Roberson on 16 Apr 2012
Please show some sample lines from the file.
You should edit them in to your question, as it is not possible to format text in comments here.
http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!