TP-analyse-donnees/TP3/estimation_mu_Sigma.m
2023-05-29 16:43:44 +02:00

12 lines
155 B
Matlab
Executable file

function [mu, sigma] = estimation_mu_Sigma(X)
mu = mean(X);
X_c = X - mu;
sigma = X_c.' * X_c / length(X);
mu = mu.';
end