Effacer les filtres
Effacer les filtres

Where can I find which "common functions" symvar identify?

2 vues (au cours des 30 derniers jours)
sadel
sadel le 7 Juin 2011
The Description of symvar says: symvar 'expr' searches the expression, expr, for identifiers other than i, j, pi, inf, nan, eps, and common functions. symvar displays those variables that it finds or, if no such variable exists, displays an empty cell array, {}.
Where can I find which "common functions" symvar identify?

Réponse acceptée

Paulo Silva
Paulo Silva le 7 Juin 2011
edit symvar
Look at the comment inside the symvar.m that says:
Find opening parentheses and check to make sure they don't trail a variable. If one does, it is a treated as a function name and removed from b and e.
  2 commentaires
Walter Roberson
Walter Roberson le 7 Juin 2011
Does that mean that it eliminates variables that have been indexed, if the user used '()' indexing?
sadel
sadel le 7 Juin 2011
hmmm the truth is....no
Then, what can I do?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by