Answers for "function as parameter octave"

1

octave pass function as parameter

f = @sin;         #Create function handle usin '@'
quad (f, 0, pi)   #Pass function handle (and therefore the function) to the quad function
Posted by: Guest on January-22-2021

Code answers related to "function as parameter octave"

Browse Popular Code Answers by Language