the meaning of @ in this equation?

1 view (last 30 days)
Eliza
Eliza on 16 Oct 2017
Commented: Star Strider on 16 Oct 2017
what is the meaning of this expression?
f=@(x) x.^2-2;
  1 Comment
Star Strider
Star Strider on 16 Oct 2017
The ‘@’ defines a ‘function handle’. See Create Function Handle (link) for details.

Sign in to comment.

Answers (1)

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

Categories

Find more on Partial Differential Equation Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!