フィルターのクリア

how draw mean and cov matrix?

1 回表示 (過去 30 日間)
alex
alex 2022 年 10 月 20 日
コメント済み: Benjamin Kraus 2022 年 10 月 21 日
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 件のコメント
Benjamin Kraus
Benjamin Kraus 2022 年 10 月 21 日
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?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by