title: Normalization in variable range [ x , y ] in Matlab
body: <p>I wanna create basic matlab program that normalizes given array of integer in the given range. </p>
  
  <ul>
  <li>Inputs are an array [ a1 , a2 , a3 , a4 , a5 , a6 , a7... ], and the range [ x , y ]</li>
  <li>Output is normalized array. </li>
  </ul>
  
  <p>But in everywhere, i see the normalization in the range of [0,1] or [-1,1]. Can't find variable range normalization. 
  I will be grateful if you write the matlab code or the formula for variable range. </p>
  
  <p>Thank you for ideas. </p>