If the program demands evaluation of multiple, only decimal, values of the same function, what is the better way amongst the following?
(a) Using anonymous functions or inline functions
(b) Using str2func
(c) Using private functions
(d) Using any function
This question was addressed to me by my college professor while I was bunking the class.
Enquiry is from Functions in chapter MATLAB Basics of MATLAB