reading a data from a text file

3 views (last 30 days)
MA
MA on 15 Sep 2021
Commented: MA on 18 Sep 2021
Hello, what whould be an effecient way of reading a data file that is sturctured as columns and rows that will later allow me to seperate and break up the rows into smaller components or parts , be able to give each component a unique name and later on to extract each component easily.
for example I have this data file attached, the seperation process is baisclly by rows (ex: from raw 1 to row 70 .. from 71 to 140..) I have seen many many ways that a data file can be read using them but I am not sure which one is the best for my purpose, eventually after breaking up these rows I want to be able to give each part a unique name. Is there an effecient way in matlab for such purpose?
  3 Comments
MA
MA on 16 Sep 2021
thank you that was helpul
Adam Danz
Adam Danz on 16 Sep 2021
I'm happy to chip in.

Sign in to comment.

Accepted Answer

Jeevan Kumar Bodaballa
Jeevan Kumar Bodaballa on 16 Sep 2021
There are many ways to do that !
you can import data as coloumns with matlab user interface option. Then you can able slice according to your need
  1 Comment
MA
MA on 18 Sep 2021
thank you I will try that out as well ..

Sign in to comment.

More Answers (0)

Categories

Find more on Cell Arrays in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!