drawing specific histogram for errors.

1 ビュー (過去 30 日間)
sermet 2014 年 7 月 15 日
コメント済み: Yoav Livneh 2014 年 7 月 15 日
%I have error values from the difference between measured value and true value. I need to show the errors in a histogram as the style of given picture. Numbers in the Y axe are the error values, number in the X axe are the measured frequency.
%for example;


Yoav Livneh
Yoav Livneh 2014 年 7 月 15 日
You can use the hist command. For example for the parameter DS:
[n xout] = hist(DS,100); 100 is an arbitrary number of bins
figure; plot(xout, n);
Type doc hist for more information.
  4 件のコメント
Yoav Livneh
Yoav Livneh 2014 年 7 月 15 日
Did you try pasting this into the command line? Maybe in the documentation they use different names for n and xout.


その他の回答 (0 件)


Community Treasure Hunt

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

Start Hunting!

Translated by