manipulate matrix dimension (ignoring lines)

5 vues (au cours des 30 derniers jours)
Najiya Omar
Najiya Omar le 11 Jan 2018
Commenté : Najiya Omar le 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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Standard File Formats dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by