code to read the data in matfile

1 vue (au cours des 30 derniers jours)
arunnagiri murrugesan
arunnagiri murrugesan le 15 Oct 2019
Commenté : Walter Roberson le 15 Oct 2019
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 ?

Réponse acceptée

Nicolas B.
Nicolas B. le 15 Oct 2019
Read the matfile documentation. It contains what you want.
  1 commentaire
Walter Roberson
Walter Roberson le 15 Oct 2019
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by