Question: Algorithm 1 . 4 . 1 If x i n C n and n = 2 t , then this algorithm computes the discrete Fourier

Algorithm 1.4.1 If xinCn and n=2t, then this algorithm computes the discrete
Fourier transform y=Fnx.
function y=fft(x,n)
ifn=1
y=x
else
m=n2
yT=fft(x(1:2:n),m)
yB=fft(x(2:2:n),m)
=exp(-2in)
d=[1,,cdots,m-1]T
z=d****yB
y=[yT+z]
yT-z
end
P1.4.1 Suppose w=[1,n,n2,dots,nn2-1] where n=2t. Using the colon notation, express
1,r,r2,dots,rr2-1
as a subvector of w where r=2q,q=1:t. Rewrite Algorithm 1.4.1 with the assumption that w is
precomputed. Show that this maneuver reduces the flop count to 5nlogn. Answer should be written in MATLAB
 Algorithm 1.4.1 If xinCn and n=2t, then this algorithm computes the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!