I really having a hard time to tackle the following question.
It is asked to load a ".mat" file using
load file.mat. And the result is two variables: Fs varaible contains the sampling frequency=44100, y is a 441344x1 matrix that contains data points of this audio.
It is asked to amplitude modulate this audio by multiplying a cosine function of frequency 4 Hz. This is to micmic the tremolo effect.
This corresponds to
But my question is, how should I define the length of n? If I do
The resulting audio sounds very weird. Then, how should I define n then?