What does '@' mean in a matlab expression?

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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Numeric Types in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by