load audio_1.mat[nWindows,nFrequs]=size(A);t=(1:0.02*44100)/44100;for i=1:nWindows %#rows
x=0; for j=1:nFrequs %#columns
x=x+2*abs(A(i,j))*cos((2*pi)*f_in_Hz(i,j)*t+angle(A(i,j))); end % when i = 1, y=x( 1:882);
% when i = 2, y=x( 883:1764);
% when i = 3, y=x(1765:2676);
% when i=.., y=x(...:..)
endplot(t,x)soundsc(y,fs)
I want to set up y to a [1,575064] matrix so that every value of x get loaded in in the matrix y wich is 1 row and 575064 columns X is supose to give the same size but for 882 value of X get automaticaly updated with the next 882 value of X and so on
Best Answer