how to make a overlapping windowing in matlab ?

Status
Not open for further replies.

best_77

Newbie level 4
Joined
Apr 21, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
Hello to everybody
I have a question about overlapping, can someone help me please ?
%% I am doing following in matlab for windowing %%
windowsize = 80;
[sizeall,temp] = size(Acc_X);
Fs = floor(sizeall/windowsize);
for i = 1:Fs
tempAcc_X = Acc_X((i-1)*windowsize +1:i*windowsize,;
ARCoef_Acc_X = arburg(tempAcc_X,3);
ar_Acc_X(i,1:3) = ARCoef_Acc_X(2:4);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
For example, Acc_X = 1000 samples, first time my tempAcc will take 1-80 samples from Acc_X and the second time it should start from 40-120. Is there someone who knows it, please help me.
I am really thankful for any comments.
regards,
best_77
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…