title: Optional args in MATLAB functions
body: <p>How can I declare function in MATLAB with optional arguments?</p>
  
  <p>For example: <code>function [a] = train(x, y, opt)</code>, where opt must be an optional argument.</p>