can someone help me solve this problem by using matlab?
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 harmonis off (i.e., cos lr/t,cs6πft, cos 8nft, cos 10πft, . . .). For example, a familiar waveform of frequency f can be constructed from the series: Tri(t)–Σ Write a little MatLab program that shows
OR
OR