Defining matrix of functions
Defining matrix of functions
(OP)
Hi,
I would like to create a matrix of functions (eg F(t)) by defining every component as a function of the indexes (eg Fp,q=p+q .
The thing is I cannot do it entering "F(t)pq=..." ("the left side cannot be defined(...)")
Has someone a solution ?
Thanks in advance,
Géraud
I would like to create a matrix of functions (eg F(t)) by defining every component as a function of the indexes (eg Fp,q=p+q .
The thing is I cannot do it entering "F(t)pq=..." ("the left side cannot be defined(...)")
Has someone a solution ?
Thanks in advance,
Géraud





RE: Defining matrix of functions
Bung
Life is non-linear...
RE: Defining matrix of functions
Then say
t:15
p:0;5
q:0;5
Result[p,q:F(t,p,q)
will create a 6x6 array of answers based on F, t, and the location in the array
Cheers
Greg Locock
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
RE: Defining matrix of functions
This creates a matrix in which the ijth element contains F(i,j).
where:
p= 0,1..m-1 & q=0,1.. n-1.
This has a limit since the argument "F" is defined as a function of two variables only.
Result=matrix(m,n,F)
If that do not work for your application,try using he programming function in MathCad.
RE: Defining matrix of functions
Cheers
Géraud