11 lines
301 B
Matlab
11 lines
301 B
Matlab
function parametres_MV = max_vraisemblance(D_app,parametres_test)
|
|
n = length(parametres_test);
|
|
result_r = zeros(1, n);
|
|
for i = 1:n
|
|
result_r(i) = sum(calcul_r(D_app,parametres_test(i,:)).^2);
|
|
end
|
|
[~,index] = min(result_r);
|
|
parametres_MV = parametres_test(index,:);
|
|
end
|
|
|