What does '@' mean in a matlab expression?

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

 Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 23 Jan. 2012

2 Stimmen

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

Weitere Antworten (0)

Kategorien

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by