What kind of structure is that in MATLAB I've never seen it before... (Differential equations)

1 回表示 (過去 30 日間)
f = @(t,x) [-x(1)+3*x(3);-x(2)+2*x(3);x(1)^2-2*x(3)];
what does "@(t,x)" represent and there's some room between the expression and this thing I put in quotes..

採用された回答

Roberto
Roberto 2014 年 5 月 9 日
It creates a function handle, also called anonymous functions learn more here
  1 件のコメント
Douglas Alves
Douglas Alves 2014 年 5 月 10 日
Thank you. That was the first time i've seen it. I didn't even know how it was called.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by