Use the command for example:
quad( @(x) myfunc (x, 1, 2),0,1)
It outputs the quad integraion of myfunc from 0 to 1 with the argument a=1, b=2.
沒有留言:
張貼留言