MATLAB: How to plot the magnitude of x(k) in matlab
dftMATLAB
x(k)= 4j exp(-6*pi*j*k/N)
where 0 <= k <= N-1 and x(k) be N-point DFT of the length N sequence
Best Answer
You already have a function, you just need to calculate the magnitude, which is just theabs function. The thing is, you can see beforehand that this is a useless exercise, because it will always be 4. The exponent part doesn't influence the magnitude, so k has no influence on the magnitude.
Best Answer