Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = load('microwaveMeasurmentResults.csv');
- windowSize = 10;
- b = (1/windowSize)*ones(1,windowSize);
- i = 1;
- for n = length(b) : length(x) % yes I know I am losing my first 10 samples
- y(i,:) = [ b(1)*x(n) + b(2)*x(n-1) + b(3)*x(n-2) + b(4)*x(n-3) + ...
- b(5)*x(n-4) + b(6)*x(n-5) + b(7)*x(n-6) + b(8)*x(n-7) + ...
- b(9)*x(n-8) + b(10)*x(n-9) ];
- i = i+1;
- end
Add Comment
Please, Sign In to add comment