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

1 Ansicht (letzte 30 Tage)
How will I save this in one row or column in a .mat file?
  5 Kommentare
Massimo Zanetti
Massimo Zanetti am 27 Sep. 2016
What is this precisely? Is it a Matlab variable? Have you got all these values in a vector?
Hazel Sialongo
Hazel Sialongo am 27 Sep. 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Massimo Zanetti
Massimo Zanetti am 27 Sep. 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 Kommentare
Hazel Sialongo
Hazel Sialongo am 27 Sep. 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 am 27 Sep. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by