How to convert mat file size?

2 vues (au cours des 30 derniers jours)
maha lakshmi
maha lakshmi le 16 Mar 2013
Hi,
I have calculated the features of size <432*1> and has 3456 bytes but while saving feature vector of many images as separate mat file many file has 3KB size and few files have 2KB size due to this variation I am unable to concatenate the feature vectors of 1000 images so, please give some suggestions for this problem.

Réponse acceptée

Walter Roberson
Walter Roberson le 16 Mar 2013
Do not concatenate .mat files themselves. Only concatenate values in the workspace. The size on disk of a .mat file is irrelevant, and can reflect how well the data is compressed rather than the number of elements in the array.
  2 commentaires
maha lakshmi
maha lakshmi le 16 Mar 2013
Thank you sir,can you please say how to concatenate the values in the workspace
Walter Roberson
Walter Roberson le 16 Mar 2013
That sounds like your existing question http://www.mathworks.co.uk/matlabcentral/answers/67285-concatenation-of-mat-files-of-different-sizes which you did not show us code for.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by