Clear Filters
Clear Filters

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

1 view (last 30 days)
How will I save this in one row or column in a .mat file?
  5 Comments
Massimo Zanetti
Massimo Zanetti on 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 on 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.

Sign in to comment.

Accepted Answer

Massimo Zanetti
Massimo Zanetti on 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 Comments
Hazel Sialongo
Hazel Sialongo on 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 on 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!