Calling entries in an array of functions?

1 vue (au cours des 30 derniers jours)
Michael Wu
Michael Wu le 8 Nov 2015
Modifié(e) : Michael Wu le 8 Nov 2015
Hi all,
I am currently writing a Jacobian method function that requires me to call entries of an array of functions.
For example, if my function array is this: F=[x(1)^2-x(2)^2; x(1)^2+x(2)^2];
How do I make F(1) correspond to "x(1)^2-x(2)^2" ?
Basically, if I have an array of functions, how do I associate indices to each function entry, so that something like F(1) can be fed into another function as an input?
Thanks in advance!

Réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by