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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

I can't change a matrix solution to show the result in a new variable

fguerra84
3-Visitor

I can't change a matrix solution to show the result in a new variable

Hello everybody,

I'm trying to change the sum of angles theta 1,2,3 to a new angle phi. The matrix T03 is the solution of A01*A12*A23. I have been using symbolic keywords like substitute, using and other types of solution but nothing works to show the same matrix T03 but with cos(phi) and sin (phi). 

There is some way to do it?

Any help or advice?

Thanks.

 

MDH.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

Use the symbolic command "substitute" .

In mathcad 15 it looks like this.

изображение.png

View solution in original post

6 REPLIES 6

Use the symbolic command "substitute" .

In mathcad 15 it looks like this.

изображение.png

Thank you Vkofanov, I don't know why this time the command "substitute" worked in Prime, because the times I tried before didn't.

 

By the way do you know how I can rearrange the element (1,4) the show l1*cos(theta) first, l2... and then l3... I know it's the same, but I want the matrix in that way.

 

Thank you again.

Sin título.jpg


fguerra84 wrote:By the way do you know how I can rearrange the element (1,4) the show l1*cos(theta) first, l2... and then

 


You may try additionally the "collect,theta.1" command in the symbolics. Not sur if it would work the way you want it to be. Its often hard to get Mathcads symbolics to display results exactly the way we have it in mind, ever so often its impossible.

 

изображение.png

 

Finally I did it with "collect", the dot solution doesn't worked for me in Prime.
Thank you Vkofanov & Werner_E.

Regards.

Sin título.jpg


@fguerra84 wrote:

the dot solution doesn't worked for me in Prime.

 


What vkofanov pointed out is that the order of the factors and summands differ, depending if you use vector indices or literal indices.

In Mathcad 15 and below literal indices are written using the dot. In Prime its done via the menu or with the keybord shortcut "Ctrl -"

Top Tags