MATLAB Answers


How to create database to store values

Asked by Pat
on 29 Dec 2012
Latest activity Commented on by Srikanth
on 7 Feb 2014
I have extracted two eatures of an image and have saved it in a variable
A=[f1 f2]%f1,f2 features
now i have 100 images and i want to save it to database,so finally my database will contain values of size 100x2
please help




No products are associated with this question.

1 Answer

Answer by Sabarinathan Vadivelu on 29 Dec 2012
Edited by Sabarinathan Vadivelu on 29 Dec 2012
 Accepted answer
for i = 1 : 100  % 100 is number of images
   A{i} = [f1 f2]; % make A as a cell
save('features.mat','A');   % create database


See the above comment. I answered for that also

on 7 Feb 2014

how to confirm that these values are stored..

on 7 Feb 2014

I have 1000 images of database and 4 features extracted for each image using graycoprops for glcm ... i wanted to create a mat file.... please could u help me in creating a mat file...

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today