Effacer les filtres
Effacer les filtres

the meaning of @ in this equation?

3 vues (au cours des 30 derniers jours)
Eliza
Eliza le 16 Oct 2017
Commenté : Star Strider le 16 Oct 2017
what is the meaning of this expression?
f=@(x) x.^2-2;
  1 commentaire
Star Strider
Star Strider le 16 Oct 2017
The ‘@’ defines a ‘function handle’. See Create Function Handle (link) for details.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by