×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Defining matrix of functions

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

RE: Defining matrix of functions

I'm not sure I understand what you are trying to do - can you give a bit more detail?

Bung
Life is non-linear...

RE: Defining matrix of functions

Doesn't F(t,p,q):=whatever   work?

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

Try using the build in MathCad function   matrix(m,n,F)

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

(OP)
Thank you very much for helping me, I am going to apply your solutions.

Cheers

Géraud

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources