MATLAB: How to get SURF feature vector values of multiple images

feature extractionimage processing

Hello, i have extracted surf features from multiple images using the following code.But only the last image feature value is stored in the feature variable used in the code. how to get all the feature vector values..
Thank you… Code:
srcFiles = dir('F:\MTECH\MATLAB\Begin\photos\*.jpg');
for i = 1 : length(srcFiles)
filename = strcat('F:\MTECH\MATLAB\Begin\photos\',srcFiles(i).name);
I1 = rgb2gray(imread(filename));
points1 = detectSURFFeatures(I1);
[features2, valid_points1] = extractFeatures(I1, points1);
figure; imshow(I1); hold on;
plot(valid_points1.selectStrongest(10),'showOrientation',true);
columnvector = rand(1,64);
finalFeature = sum(columnvector(:));
sprintf('%s %d','finalFeature = ' , finalFeature)
end

Best Answer

finalFeature(i) = sum(columnvector(:));
sprintf('%s %d','finalFeature = ' , finalFeature(i))