filter1function - for i=1:a...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function W=filter1(V) a=5; n=length(V); m=n-a; b=floor(a/2); W=0*V;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for i=1:a W(b:b+m-1)=W(b:b+m-1)+1/a*V(i:m-1+i); end...
View Full Document

This note was uploaded on 11/16/2009 for the course ENGIN 7 taught by Professor Horowitz during the Spring '08 term at University of California, Berkeley.

Ask a homework question - tutors are online