This preview shows page 1. Sign up to view the full content.
Unformatted text preview: end M = length(b); brev = b(M:-1:1); xhat = zeros(N+M-1,1); xhat(M:(N+M-1)) = x; y = zeros(N,1); for n=1:N, y(n) = brev * xhat(n:(n+M-1)); end avgdata= mafilt( data.date,data.Tp); plot(data.Tp,'Color',[0.8 0.8 0.8],'LineWidth',2); hold on; plot(avgdata,'k'); return...
View Full Document
This note was uploaded on 11/01/2011 for the course ANTHRO 5 taught by Professor Gaulin during the Spring '11 term at San Diego.
- Spring '11