Azzera filtri
Azzera filtri

Save Features Extracted in one row/column and save it as .mat file

1 visualizzazione (ultimi 30 giorni)
How will I save this in one row or column in a .mat file?
  5 Commenti
Massimo Zanetti
Massimo Zanetti il 27 Set 2016
What is this precisely? Is it a Matlab variable? Have you got all these values in a vector?
Hazel Sialongo
Hazel Sialongo il 27 Set 2016
I extracted the features in an image and want it to save in a mat file but only in one column or in a row.

Accedi per commentare.

Risposta accettata

Massimo Zanetti
Massimo Zanetti il 27 Set 2016
Ok, so define your vectors and save them as follows:
FEATURES={'MEAN','SD','RMS',...};
VALUES=[66.2561,78.0825,11.0548,...];
save('myFeatureFile.mat','FEATURES','VALUES');
  4 Commenti
Hazel Sialongo
Hazel Sialongo il 27 Set 2016
No I mean on your given code:
FEATURES={'MEAN','SD','RMS',...};
VALUES=[66.2561,78.0825,11.0548,...];
save('myFeatureFile.mat','FEATURES','VALUES');
I want to replace the VALUES=[66.2561,78.0825,11.0548,...]; of the value of handles.edit33. Uhm, Did I explained it clear?
Hazel Sialongo
Hazel Sialongo il 27 Set 2016
When I run my code, at first there's no value in the edit tool. So, what I want is whenever I extract the features of an image I want to save its result in a mat file.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by