8 lines
176 B
Matlab
8 lines
176 B
Matlab
function [valeurs_max, indices_max, taux_compression] = mp3(Y, m, l)
|
|
|
|
[valeurs_max, indices_max] = maxk(Y, m);
|
|
|
|
taux_compression = length(valeurs_max(:)) * 2 / l;
|
|
|
|
end
|