Task

Take a combined set of elements and apply a function to each element.




 
>> x = rand(2,4)
 0.707213207   0.275298961   0.396757763   0.232312312
 0.215619868   0.207078017   0.565700032   0.666090571
>> sin(x)
 0.649717845   0.271834652   0.386430003   0.230228332
 0.213952984   0.205601224   0.536006923   0.617916954
 