manipulate matrix dimension (ignoring lines)

6 views (last 30 days)
Najiya Omar
Najiya Omar on 11 Jan 2018
Commented: Najiya Omar on 16 Jan 2018
I have number of matrices sized (203*12),however Matlab doesn't read the first two lines because they are texts. Therefore, I want command to ignore these two lines for all the number of matrices resulting new matrices (201*12) in dimension.
thanks

Accepted Answer

Star Strider
Star Strider on 11 Jan 2018
Use the textscan (link) function.
Define: 'HeaderLines',2 in the name-value pair arguments.
  26 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!