Azzera filtri
Azzera filtri

how draw mean and cov matrix?

1 visualizzazione (ultimi 30 giorni)
alex
alex il 20 Ott 2022
Commentato: Benjamin Kraus il 21 Ott 2022
I have 2 mean which is mu1=[1 1] and mu2=[1 0] and 2 2*2 cov matrix which is cov1=[1 0.2:0.2 0.5] and cov2=[0.4 0:0 0.5] ,how shoul I plot them and find best decision line?
  1 Commento
Benjamin Kraus
Benjamin Kraus il 21 Ott 2022
Can you elaborate on your question?
To start with, I think you meant to use semicolons (";") not colons (":") in your cov1 and cov2 matrices:
mu1=[1 1];
mu2=[1 0];
cov1=[1 0.2; 0.2 0.5];
cov2=[0.4 0; 0 0.5];
What exactly are you trying to plot?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by