📜  八度传递函数作为参数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:41.601000             🧑  作者: Mango

代码示例1
f = @sin;         #Create function handle usin '@'
quad (f, 0, pi)   #Pass function handle (and therefore the function) to the quad function