What does '@' mean in a matlab expression?

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 日

2 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by