title: How do i use the silhouette function in matlab
body: <p>I have a question on how to use silhouette function in matlab</p>
  
  <p>if i have my correlation matrix X =  90x90 and my cluster membership numbers for my data
  ; say i have five clusters. This is defined as cidx which is length 90x1 each value is assigned a number from 1 to 5.</p>
  
  <p>Can I just pass the correlation matrix and cidx to the silhouette function and specify the measure as 'correlation' or should i be passing in my returns matrix instead?</p>
  
  <p>Thanks for your help!</p>