What does '@' mean in a matlab expression?

6 次查看(过去 30 天)
For example [x,y] = foo1(@(x) foo2(x),z);
Thank you in advance for your help.

采纳的回答

Sean de Wolski
Sean de Wolski 2012-1-23
It means your are referencing a function handle or creating an anonymous function.
doc function_handle
and

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by