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

0 个投票

Read the matfile documentation. It contains what you want.

1 个评论

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 个)

类别

在 帮助中心 和 File 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