📜  matlab lambda 函数 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:52.059000             🧑  作者: Mango

代码示例1
y = @(x) 
and you can call it like that:
variable = y(3)

for example:
y = @(x) 4*x.^2 + 2*x + 1;
var = y(0)
%var = 1