In order to refactor my MATLAB code, I thought I\'d pass around functions as arguments (what MATLAB calls anonymous functions), inspired by functional programming.
H
Results from a Windows machine, Matlab 2009a
>> test ans = 0 0.0156 1.1094