manipulate matrix dimension (ignoring lines)

조회 수: 3 (최근 30일)
Najiya Omar
Najiya Omar 2018년 1월 11일
댓글: Najiya Omar 2018년 1월 16일
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

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by