MATLAB: How to save SURF feature value

MATLAB

I have extracted feature from a single image using SURF feature extraction method. The extracted features are in matrix of 64 column and i have made a matrix to single value i.e adding matrix values. But my problem is, the particular single value which i have obtained by using sum function keeps altering every time when I run the code. Once if the value is 32.0676 next time when i run the same code it will be 29.0778 or something other value. I have attached the code for it and the image.

Best Answer

Because in your code following random column vector generation is there, every time it generates different column vector, therefore "sumoffeatures" value changes
columnvector = rand(1,64)