×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*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.

# 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 ?

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.

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!