the meaning of @ in this equation?

2 Ansichten (letzte 30 Tage)
Eliza
Eliza am 16 Okt. 2017
Kommentiert: Star Strider am 16 Okt. 2017
what is the meaning of this expression?
f=@(x) x.^2-2;
  1 Kommentar
Star Strider
Star Strider am 16 Okt. 2017
The ‘@’ defines a ‘function handle’. See Create Function Handle (link) for details.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ahmed raafat
Ahmed raafat am 16 Okt. 2017
@(x) : define variable x as anonymous variable so that we can we easily write our equations

Kategorien

Mehr zu Partial Differential Equation Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by