histogram of error distribution

5 views (last 30 days)
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!