Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Re: I can't change a matrix solution to show the r...

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-13-2017
06:53 PM

11-13-2017
06:53 PM

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.

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-13-2017
07:46 PM

11-13-2017
07:46 PM

Use the symbolic command "substitute" .

In mathcad 15 it looks like this.

6 REPLIES 6

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-13-2017
07:46 PM

11-13-2017
07:46 PM

Use the symbolic command "substitute" .

In mathcad 15 it looks like this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-16-2017
09:44 AM

11-16-2017
09:44 AM

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

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-16-2017
11:33 AM

11-16-2017
11:33 AM

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

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-16-2017
02:56 PM

11-16-2017
02:56 PM

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-16-2017
04:07 PM

11-16-2017
04:07 PM

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

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

Thank you Vkofanov & Werner_E.

Regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

11-19-2017
04:40 AM

11-19-2017
04:40 AM

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

@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 -"