38 Pds::Octave::XLabel=
"x1";
39 Pds::Octave::YLabel=
"x2";
40 Pds::Octave::DAspect=
true;
47 Pds::Matrix R(
"2 -0.2\n-0.2 1");
50 X=Pds::MergeHor({ Pds::RandN(L,1) , Pds::RandN(L,1) });
53 Pds::Octave::Plot::PointsX2D(X,
"testando.m",
"example_probability_gaussian3_data.png");
56 Sigma=X.CovMatrix(Mu);
58 std::cout<<
"X.Size():\n"<<X.Size()<<
"\n";
59 std::cout<<
"Mu:\n"<<Mu;
60 std::cout<<
"Sigma:\n"<<Sigma;
61 std::cout<<
"R.MtM():\n"<<R.MtM();
66 Pds::Octave::Plot::ScatterX2DY(X,P,
"testando.m",
"example_probability_gaussian3_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 ,...