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

조회 수: 1 (최근 30일)
How will I save this in one row or column in a .mat file?
  댓글 수: 5
Massimo Zanetti
Massimo Zanetti 2016년 9월 27일
What is this precisely? Is it a Matlab variable? Have you got all these values in a vector?
Hazel Sialongo
Hazel Sialongo 2016년 9월 27일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Massimo Zanetti
Massimo Zanetti 2016년 9월 27일
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
Hazel Sialongo
Hazel Sialongo 2016년 9월 27일
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 2016년 9월 27일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by