1. A periodic waveform of frequency f having any shape (square waves, triangle waves, sawtooth waves, etc.) can be constructed by adding up appropriately weighted cosine or sine waves of frequency f and all harmonics of f (i.e., co s 4πft, cos 6πft, cos 8r/ t, cos 10nft . . .). For example, a familiar waveform of frequency f can be constructed from the series k1)2 に0 Write a little MatLab program that shows this graphically by
OR
OR