Calling entries in an array of functions?

1 visualización (últimos 30 días)
Michael Wu
Michael Wu el 8 de Nov. de 2015
Editada: Michael Wu el 8 de Nov. de 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!

Respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by