This is the given:
1) 220 samples of sinusoid with frequency of 2300 Hz, amplitude of 1.8 and sampling rate is 7000Hz.
2) 350ms of an exponentially decaying signal with a time constant of 60ms; and sampling rate is 1400Hz.
they are already translated to the code as provided but then again it shows "Arrays have incompatible sizes for this operation."