What does '@' mean in a matlab expression?

For example [x,y] = foo1(@(x) foo2(x),z);
Thank you in advance for your help.

 采纳的回答

It means your are referencing a function handle or creating an anonymous function.
doc function_handle
and

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Numeric Types 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by