function output = dtfs0(x)
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here
    N = length(x);
    output = zeros(1,N);
    for k = 1:N
        temp = 0;
        for n = 1:N
            temp = temp + x(n)*exp(-2i*pi*(n-1)*(k-1)/N);
        end
        output(k) = 1/N*temp;
    end
end

