Contact US

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!

*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

Tabled values returning non-tabled results

Tabled values returning non-tabled results

Tabled values returning non-tabled results

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?


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

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.


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.

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! Already a Member? Login


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:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close