title: Matlab - calculate rate of convergence
body: <p>Having vector <code>x</code> and I have to calculate its <a href="http://en.wikipedia.org/wiki/Rate_of_convergence" rel="nofollow noreferrer">rate of convergence</a> , for this purpose it is just return a vector of values which show the iterations of the follow series  according to <code>x</code> length  - </p>
  
  <p><img src="https://i.stack.imgur.com/DU0fp.jpg" alt="enter image description here"></p>
  
  <p>What is the simplest way to calculate that ?</p>