Skip to main content
14-Alexandrite
May 26, 2025
Solved

Mathcad 9: Defining Data in a table format, then pull information from it

  • May 26, 2025
  • 1 reply
  • 547 views

Hello All,

Please see the attached document (Mathcad9). Currently, I am defining these variables individually in a table format.  I'd like to start defining the data for each member and its associated information ( Length, force, moment..) shown  then pull the information from the table to define each variable as i am currently doing. I am running analysis for each panel TC# and its associated information and report the results in an array format which i am not showing here.

 

Thanks,

Sam

Best answer by Werner_E

So what is the question or the problem?

When you use Primes table to define variables, you actually are defining vectors, just in a more compact way.

So in your table for example you defined a vector L.x which you can use the same way as you used the vector l.x  you defined singly so far.

Werner_E_0-1748296236727.png

 

So if, lets say, your calculation requires you to multiply l.x by Axial and add Moment.MP, you could do so on basis of a preselected value of TC

Werner_E_1-1748296673026.png

or you do the calculation for all rows in one go

Werner_E_2-1748296711768.png

Don't forget to use vectorization as otherwise Prime uses the vector scalar product for the multiplication.

 

 

 

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
May 26, 2025

So what is the question or the problem?

When you use Primes table to define variables, you actually are defining vectors, just in a more compact way.

So in your table for example you defined a vector L.x which you can use the same way as you used the vector l.x  you defined singly so far.

Werner_E_0-1748296236727.png

 

So if, lets say, your calculation requires you to multiply l.x by Axial and add Moment.MP, you could do so on basis of a preselected value of TC

Werner_E_1-1748296673026.png

or you do the calculation for all rows in one go

Werner_E_2-1748296711768.png

Don't forget to use vectorization as otherwise Prime uses the vector scalar product for the multiplication.

 

 

 

 

SFares14-AlexandriteAuthor
14-Alexandrite
May 27, 2025

Yes, I do the calculation for all rows in one go. Thank you, Werner!