Secant Method Function Matlab Code Generator