how i can find the DTFT of sequence without using fft inbuilt function ?
Mostra commenti meno recenti
i am trying this code,
clc; clear; close all;
n = 0:1:100;
x = ((n >= 0) - (n >= 5));
stem(n, x);
len = length(x);
X = zeros(1, len);
for w = 0:2*pi*len
for n = 0:len
X(w+1) = X(w+1) + x(w+1)*exp(-1j*w*n);
end
end
1 Commento
VISHAL G THENGANE
il 1 Mar 2018
Risposta accettata
Più risposte (2)
Abhishek Ballaney
il 1 Mar 2018
Modificato: Abhishek Ballaney
il 1 Mar 2018
0 voti
https://blogs.mathworks.com/steve/2010/06/25/plotting-the-dtft-using-the-output-of-fft/
https://blogs.mathworks.com/steve/2010/03/15/the-dft-and-the-dtft/
Piotr Gregor
il 1 Lug 2022
0 voti
Here's my implementation of DFT and IDFT:
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!