Matlab code QuantFinance