clc; clear; close all;
%%
% This script tests the generation of the DGT parameters
%%

win_type='hann';
approx_win_len=256;
hop = approx_win_len/8;
nbins = approx_win_len*2;
sig_len=16384;
dgt_params = generate_dgt_parameters(win_type, approx_win_len, hop, nbins, sig_len);

%%
fprintf(['Les parametres de la DGT sont:\n win_type = %s\n',...,
    ' hop=%.2f\n nbins=%.2f\n win_len=%.4f\n'],...,
    dgt_params.win_type, dgt_params.hop, dgt_params.nbins,...,
    dgt_params.win_len);

