Calling entries in an array of functions?

1 回表示 (過去 30 日間)
Michael Wu
Michael Wu 2015 年 11 月 8 日
編集済み: Michael Wu 2015 年 11 月 8 日
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!

回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by