how draw mean and cov matrix?

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

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

Richiesto:

il 20 Ott 2022

Commentato:

il 21 Ott 2022

Community Treasure Hunt

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

Start Hunting!

Translated by