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

# Tabled values returning non-tabled results

## Tabled values returning non-tabled results

(OP)
For some reason whenever I multiply one tabel by another Mathcad 13 is retuning me the sum of all values instaed of another table. I have no pronblem with any other simple operators, why is it doing this?

### RE: Tabled values returning non-tabled results

which operator did you use?

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

### RE: Tabled values returning non-tabled results

(OP)
multiply, or "*"

basicaly, I have defined a table as a variable D, if i multiply D by itself, or any other table I get a result like the following:

D*D=10.451, where D=1, 3, 4, 2, 6,... (values are made up here but you get the idea)

or D*d=2.345 where D is the same as above but d=3,6,1,4,8 or such

I want a result that reads D*D=1,6,8,4,36... (value 1 gets multipled by itsef, then value 2 etc..

thanks for the help

### RE: Tabled values returning non-tabled results

You need to do it as an indexed operation.

TTFN

Eng-Tips Policies FAQ731-376

### RE: Tabled values returning non-tabled results

Tables are basically the same as matrices.  Your single column tables are vectors which when multiplied (dot product) yield a scalar value.

To get a table that has each element as the multiple of the elements of the original tables, use the vectorize operator, Ctrl+- after getting the editing lines (the little blue angle) under and to the right of both variables.

I guess that is what you want, even though in your example, 3*3 does not equal 6 and 4*4 does not equal 8.

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

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!