We learnt about the various windowing techniques recently and I can't seem to wrap my head around why one would use anything other than a rectangular window.
I created a signal with 10 evenly spaced harmonics and subjected it to both a rectangular window and a triangular window. I can't seem to wrap my head around why anyone would use a triangular window over a rectangular window. As you can see in the pictures below, rectangular window cuts off the frequency at exactly where you'd want it to. Whereas the triangular window doesn't even seem desirable to me. Even the harmonic at ~2500Hz is scaled down. Isn't that the opposite of what we want?