Commit 0e7cff29 authored by Marina Kreme's avatar Marina Kreme
Browse files

add doc

parent 6ec01ae2
Pipeline #5936 passed with stage
in 4 minutes and 56 seconds
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
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
%%
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment