diff --git a/matlab/tfgm/utils/itakura_saito_dist.m b/matlab/tfgm/utils/itakura_saito_dist.m index 286d9c0aa0c9e4f7b3130308f563fb2e04b006d4..273cbce98018a7d2de9bab3c8fd574d752675761 100644 --- a/matlab/tfgm/utils/itakura_saito_dist.m +++ b/matlab/tfgm/utils/itakura_saito_dist.m @@ -1,27 +1,27 @@ function IS = itakura_saito_dist(x_ref,x_est) %% IS = itakura_saito_dist(x_ref,x_est) -% The Itakura?Saito distance (or Itakura?Saito divergence).It's measure +% The Itakura Saito distance (or Itakura Saito divergence).It's measure % of the difference between an original signal x_ref and an approximation -% x_est. see [1] +% x_est. see [1] % Inputs: -% - x_ref : original signal -% - x_est : estimated signal +% - x_ref : Reference signal +% - x_est : Estimation of the reference signal % Output: -% -IS: Itakura SAito measurement. -% -% +% -IS: Itakura Saito measurement. +% +% % Reference: -% -% [1] Itakura,F.,& Saito,S. (1968). Analysis synthesis telephony based -% on the maximum likelihood method. -% -% +% +% [1] Itakura,F.,& Saito,S. (1968). Analysis synthesis telephony based +% on the maximum likelihood method. +% +% % Author: Marina KREME %% z = x_ref./x_est; IS = sum(z - log(z)) - length(z); -end +end diff --git a/matlab/tfgm/utils/itakura_saito_dist_spectrum.m b/matlab/tfgm/utils/itakura_saito_dist_spectrum.m index 4a7d9a638e3aefada64e4f82d39b43106f4be6a2..12f12ae26ac3be87710815b7fbe3c95193ca86ea 100644 --- a/matlab/tfgm/utils/itakura_saito_dist_spectrum.m +++ b/matlab/tfgm/utils/itakura_saito_dist_spectrum.m @@ -1,21 +1,21 @@ function IS_spectrum= itakura_saito_dist_spectrum(x_ref,x_est) %% IS_spectrum= itakura_saito_dist_spectrum(x_ref,x_est) -% The Itakura?Saito distance (or Itakura?Saito divergence).It's measure -% of the difference between an original spectrum and an approximation. see [1] +% The Itakura Saito distance (or Itakura Saito divergence).It's measure +% of the difference between an original spectrum and an approximation. see [1] % Inputs: -% - x_ref : original signal -% - x_est : estimated signal +% - x_ref : Reference signal +% - x_est : Estimation of the reference signal % Output: % -IS: Itakura SAito measurement. -% -% +% +% % Reference: -% -% [1] Itakura,F.,& Saito,S. (1968). Analysis synthesis telephony based -% on the maximum likelihood method. -% -% +% +% [1] Itakura,F.,& Saito,S. (1968). Analysis synthesis telephony based +% on the maximum likelihood method. +% +% % Author: Marina KREME %%