What does '@' mean in a matlab expression?

28 vues (au cours des 30 derniers jours)
dimitris
dimitris le 23 Jan 2012
For example [x,y] = foo1(@(x) foo2(x),z);
Thank you in advance for your help.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by