cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

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

SFares
14-Alexandrite

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

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

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:SFares)

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.

 

 

 

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:SFares)

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.

 

 

 

 

SFares
14-Alexandrite
(To:Werner_E)

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

Announcements


Top Tags