A question about command of hist?

Status
Not open for further replies.

qmriso

Member level 5
Joined
Nov 30, 2006
Messages
80
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,879
i am a starter about image processing in the university.i wrote a histogram program.and i want to match the program if it is true.so i want to use hist command and control the truth.but i cant run the hist command.can you help me?

normally i plot like this:

k=1:256;
plot(w(k),k)

w(k) is a array 1 to 256.w(1) includes the number of zeros in my matrix.and w(256) includes the number of 255s.

thanks.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…