manipulate matrix dimension (ignoring lines)

5 visualizaciones (últimos 30 días)
Najiya Omar
Najiya Omar el 11 de En. de 2018
Comentada: Najiya Omar el 16 de En. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Standard File Formats en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by