Answers for "octave pass parameter as reference"

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 "octave pass parameter as reference"

Browse Popular Code Answers by Language