manipulate matrix dimension (ignoring lines)

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Star Strider
Star Strider il 11 Gen 2018
Use the textscan (link) function.
Define: 'HeaderLines',2 in the name-value pair arguments.
  26 Commenti
Image Analyst
Image Analyst il 16 Gen 2018
Then write your own special, custom reader for the file.

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by