MATLAB for applications in economics and finance