Question: Q/ Discussed the rustle in the line 5 and 6. 1. fs= 150; 2. t= 0:1/fs: 1; 3. f= 5; 4. x=sin(2*pi*f*t); 5. X=fftshift(fft(x));

Q/ Discussed the rustle in the line 5 and 6. 1. fs= 150; 2. t= 0:1/fs: 1; 3. f= 5; 4. x=sin(2*pi*f*t); 5. X=fftshift(fft(x)); X_mag= abs(X); 7. df=-fs/2:1:fs/2; 6.
Step by Step Solution
There are 3 Steps involved in it
EXPLANATION OF LINE 5 The 5th line of code uses 2 different functions 1 fftx The function fftX is us... View full answer
Get step-by-step solutions from verified subject matter experts
