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

1 visualizzazione (ultimi 30 giorni)
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..

Risposta accettata

Roberto
Roberto il 9 Mag 2014
It creates a function handle, also called anonymous functions learn more here

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by