title: How to extract year from a dates cell array in MATLAB?
body: <p>i have a cell array as below, which are dates. I am wondering how can i extract the year at the last 4 digits? Could anyone teach me how to locate the year in the string? Thank you!</p>
  
  <pre><code>'31.12.2001'
  '31.12.2000'
  '31.12.2004'
  '31.12.2003'
  '31.12.2002'
  '31.12.2000'
  '31.12.1999'
  '31.12.1998'
  '31.12.1997'
  '31.12.2005'
  '31.12.2004'
  '31.12.2003'
  '31.12.2002'
  '31.12.2001'
  '31.12.2000'
  '31.12.1999'
  '31.12.1998'
  '31.12.2005'
  '31.12.2004'
  '31.12.2003'
  '31.12.2002'
  '31.12.2005'
  </code></pre>