Question: MATLAb Select the correct descriptions about user defined functions. Anonymous function is not stored in a m file, and its definition (statement) must be located
Select the correct descriptions about user defined functions. Anonymous function is not stored in a m file, and its definition (statement) must be located before the function call. A function defined by the keyword function can be stored in a m file or included in a script. In the anonymous function definition for "myfun", the @ operator creates the handle, so that in the statement such as " x = fminbnd(myfun,x1,x2)", the function name "myfun" can be cited directly without the (i) operator. A function defined by the keyword function, if included in a script must be placed before the statements calling for that function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
