code to read the data in matfile

조회 수: 1 (최근 30일)
arunnagiri murrugesan
arunnagiri murrugesan 2019년 10월 15일
댓글: Walter Roberson 2019년 10월 15일
let us take dat is matfile = 1684 *1 . i want to read first 100 values of the 1684 points . what is the function or code to use ?

채택된 답변

Nicolas B.
Nicolas B. 2019년 10월 15일
Read the matfile documentation. It contains what you want.
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 10월 15일
Note that matfile can read from -v7 files but needs -v7.3 to write. Also, you should not expect any efficiency gains for -v7 file compared to just reading the whole variable and extracting a part of it. For such a small amount of data I would suspect that matfile for a -v7.3 file would be slower than reading the whole variable and extracting from it.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by