Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top