function X = mynaivedft(x)
% MYNAIVEDFT - naive implementation of the discrete Fourier transform
    np = length(x);
    omega = exp(-2*pi*1i/np);
    n = 0:np-1;
    k = n';  
    F = omega.^(k*n); 
    X = F*x;
end
