I have calculated the fft values and stored them in a cell array with each vector containing the fft values corresponding to each input audio signal.This is my code :
for k=1 : length(rseg)
rfft{k} = fft(rseg{k});
end
for k=1 : length(rotate)
igray{k} = 255 * mat2gray(uint8(rotate{k}));
end