how to change the histogram to the vector?
Show older comments
how to prove the histogram can be changed in the form of a vector?
Accepted Answer
More Answers (1)
Walter Roberson
on 10 Oct 2012
0 votes
You could create a histogram plot, and then go into the resulting barseries object and retrieve the YData from that object, and compare it to the original counts, and then use that retrieved set of counts to create a second histogram that will then look just like the first. The fact that the vector of data contains enough information to recreate the histogram plot will establish that the histogram can be converted to the vector.
10 Comments
Dian Permatasari
on 11 Oct 2012
Image Analyst
on 11 Oct 2012
I'm not sure what that means. Do you have a formula for it?
Dian Permatasari
on 12 Oct 2012
Walter Roberson
on 12 Oct 2012
What part are you asking for assistance with?
Dian Permatasari
on 12 Oct 2012
Dian Permatasari
on 12 Oct 2012
Image Analyst
on 12 Oct 2012
pBar = mean2(image1);
qBar = mean2(image2);
I think you can figure out the rest.
Dian Permatasari
on 12 Oct 2012
Walter Roberson
on 12 Oct 2012
In the formula you show, what is the dot operator, as in
(P-Pbar) . (Q-Qbar)
Is it the dot product?
Dian Permatasari
on 14 Jan 2013
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!