8 lines
176 B
Mathematica
8 lines
176 B
Mathematica
|
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
|