stiansjogren icon

asd

stiansjogren | PRO | 10/07/14 04:56:22 PM UTC | 0 ⭐ | 751 👁️ | Never ⏰ | []
text |

300 B

|

None

|

0 👍

/

0 👎

function DFT_IFT(x,h, length_of_set)
     N  = floor(length_of_set);
    X  = fft(x, N); H = fft(h, N);
    Y  = X .* H;
    n  = 0:N-1;
    y  = ifft(Y, N); 
    figure
    stem(n,y)
    title ([' DFT/IDFT with length ' num2str(N) ])
    axis ([0 36 0 7])
    xlabel 'n'
    ylabel 'y[n]'

Comments