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 CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by