34 Pds::Octave::XLabel=
"x1";
35 Pds::Octave::YLabel=
"x2";
36 Pds::Octave::DAspect=
true;
45 X=Pds::MergeHor({ Pds::RandN(L,1) , Pds::RandN(L,1) });
47 Pds::Octave::Plot::PointsX2D(X,
"testando.m",
"example_probability_gaussian2_data.png");
50 Sigma=sqrt(X.CovMatrix(Mu).Det());
52 std::cout<<
"X.Size():\n"<<X.Size()<<
"\n";
53 std::cout<<
"Mu:\n"<<Mu;
54 std::cout<<
"Sigma:\n"<<Sigma<<
"\n";
59 Pds::Octave::Plot::ScatterX2DY(X,P,
"testando.m",
"example_probability_gaussian2_prob.png");
Pds::Vector MGaussian(const Pds::Matrix &X, const Pds::Vector &Mu, const double &Sigma)
Evalua la "probability density function" de la funcion gaussiana multivariada, usando ,...