What does '@' mean in a matlab expression?

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

 Accepted Answer

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

More Answers (0)

Categories

Products

Tags

Community Treasure Hunt

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

Start Hunting!