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)); 6.

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

1 Expert Approved Answer
Step: 1 Unlock

EXPLANATION OF LINE 5 The 5th line of code uses 2 different functions 1 fftx The function fftX is us... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Engineering Questions!