BOXCAR:
Use the same 64-point zeros function, but replace points 5-9 with ones. { y(5:9)=[1 1 1 1 1] } and calculate the powerspectrum.
Does it look like the boxcar transform I showed? Why not?
How does the maximum power relate to the size of theboxcar?
Would this power spectrum change if the number of pointswas increased to 128?
What would happen if all values were 1?
Then you would only get the DC (zero frequency) term.
What if only one value were 1 ?