Consider we want to use the np.fft.fft function in python (or fft in Matlab). If we want to obtain 4 equally spaced samp

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Consider we want to use the np.fft.fft function in python (or fft in Matlab). If we want to obtain 4 equally spaced samp

Post by answerhappygod »

Consider we want to use the np.fft.fft function in python (orfft in Matlab).
If we want to obtain 4 equally spaced samples of the Fouriertransform of the signal x[n] = [5, 4, 3, 2, 1, 0, 2, 1, 0 , -1,-2], what signal y[n] should be the input of the abovefunction?
(Command to be run: np.fft.fft( y[n], 4 ) )
(I've already posted this once and somebody replied I just haveto do fft(x[n], 4), this is NOT the right answer; I have touse a different vector.)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply