title: Shannon's Entropy calculation
body: <p>I have a probability distribution that defines the probability of occurrence of <code>n</code> possible states.</p>
  
  <p>I would like to calculate the value of Shannon's entropy, in bits, of the given probability distribution.</p>
  
  <p>Can I use <code>wentropy(x,'shannon')</code> to get the value and if so where can I define the number of possible states a system has?</p>