histogram of error distribution

4 views (last 30 days)
María Jesús
María Jesús on 17 Dec 2014
Answered: Chad Greene on 17 Dec 2014
Hi,
I have a set of data to which I am adding weighted random error from a uniform distribution, and I would like to generate a histogram of the error distributions. Could anyone help me with this?
Thanks!!

Accepted Answer

Chad Greene
Chad Greene on 17 Dec 2014
If I understand your question correctly,
hist(data_with_error(:) - perfect_data(:))
will do what you want.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!