フィルターのクリア

Plotting errors with respect to the ''ground truth"

1 回表示 (過去 30 日間)
Sebastian Ciuban
Sebastian Ciuban 2014 年 4 月 17 日
コメント済み: Mischa Kim 2014 年 4 月 17 日
Hello,
I want to make a plot for a presentation that will show the errors and I don't know how to do this in a "professional" way.
For examample I have matrix A (3 x 8) column 1 is X, column 2 is Y and column 3 is Z. Matrix A represents the "ground truth". And matrix B, same size, which resulted from calculations. B should be very close to A as values..But how I can show that?
  2 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 4 月 17 日
This is not clear
Sebastian Ciuban
Sebastian Ciuban 2014 年 4 月 17 日
Lets say the reference values are A=[ 2 3 4 5 6]. I got B=[1.9 2.7 4.2 5.1 6.3].
the error matrix is E=A-B ..How I can make a graph/plot showing how big or small are the errors?

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

採用された回答

Mischa Kim
Mischa Kim 2014 年 4 月 17 日
編集済み: Mischa Kim 2014 年 4 月 17 日
Ciuban, how about simply
plot(A-B,'bd')
  2 件のコメント
Sebastian Ciuban
Sebastian Ciuban 2014 年 4 月 17 日
That might do it. But lets say the plot of A is a line, I want to plot the errors around that line.
Mischa Kim
Mischa Kim 2014 年 4 月 17 日
Not quite sure I understand... something like this?
hold all
plot(A,'r-')
plot(B,'bs')
How do you need this plot to be adapted to fit your needs?

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by