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

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

Thank you. That was the first time i've seen it. I didn't even know how it was called.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

질문:

2014년 5월 9일

댓글:

2014년 5월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by