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
- :
- Concatened matrix

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

Highlighted

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

12-27-2018
04:31 AM

12-27-2018
04:31 AM

Hi

I want make a program for concatened matrix

for example i want to obtain it:

How make a program for this ?

In this example , matrix 3x3

in final application matrix nx3

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

12-28-2018
02:06 PM

12-28-2018
02:06 PM

So you would have to explain in more detail how the matrix M is supposed to be built.

I your example (n=4) M has 23 rows !?

The values +8.33 and +25 are never used in M.

I would have expected rather either 3*n (=12) or n^3 (=64) lines in M

What about the zeros in the three matrices? Is there always just one column in each of the three matrices relevant?

Could it be that you are looking for something like this:

14 REPLIES 14

Highlighted
##

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

12-27-2018
05:35 AM

12-27-2018
05:35 AM

Re: Concatened matrix

Use a combination of the **stack,** **augment** and **submatrix** functions.

Alan

Highlighted
##

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

12-27-2018
05:40 AM

12-27-2018
05:40 AM

Re: Concatened matrix

Please you can make me an example ?

I don't see how to make it ?

Highlighted
##

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

12-27-2018
06:12 AM

12-27-2018
06:12 AM

Re: Concatened matrix

I try it:

Highlighted
##

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

12-27-2018
06:09 AM

12-27-2018
06:09 AM

Re: Concatened matrix

This little program should do the job:

Worksheet in Prime5 format attached

Highlighted
##

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

12-27-2018
07:16 AM

12-27-2018
07:16 AM

Re: Concatened matrix

Great !!

i try to understand it

Highlighted
##

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

12-27-2018
09:00 AM

12-27-2018
09:00 AM

Re: Concatened matrix

It's very well for me

but i don't understand perfectly your algorythm

i try modify it but i no have a sucess

I my final application

First Step

your program is right

Second step

I need to make a matrix M1 with B mark

for example:

0 -5 0

-20 -5 0

0 -5 0

5 -5 0

0 -5 -1

0 -5 0

0 -5 1

.

.

.

And third make a matrix M2 with C mark

for example

0 0 -1

-20 0 -1

0 0 -1

5 0 -1

0 -5 -1

0 2 -1

0 7 -1

.

.

.

Highlighted
##

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

12-27-2018
09:48 AM

12-27-2018
09:48 AM

Re: Concatened matrix

See if this does what you need for M1 and M2, making use of Werners function.

Success!

Luc

Highlighted
##

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

12-27-2018
10:27 AM

12-27-2018
10:27 AM

Re: Concatened matrix

Great Luke

i make a new parameter

A'

B'

to match with werner's algorythm

Now it's right

You are great's people

Thank's for all

Highlighted
##

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

12-27-2018
01:19 PM

12-27-2018
01:19 PM

Re: Concatened matrix

Guess here is a solution using just one function. The argument order of the three matrices is vital, though.

Don't forget to close the thread when there is no further question.

Worksheet in P5 format attached.

Highlighted
##

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

12-28-2018
04:40 AM

12-28-2018
04:40 AM

Re: Concatened matrix

since yesterday my problem was update, but's it's very similar

I have some difficult with program

I don't understand perfectly your algorythm

I try to modify it for my new application, but i don't have a sucess

Now, i have a algorythm wich generated 3 matrix.

This matrix are the coordinates points in 3D space axis by axis

X matrix

Y matrix

Z matrix

I need a generated M matrix wich include all 3D coordinates of axis point from X,Y,Z matrix.

And finally i verify it with 3D graphic

for example (here matrix have only 4 rows, in finally we have n rows)

Highlighted
##

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

12-28-2018
07:31 AM

12-28-2018
07:31 AM

Re: Concatened matrix

Looks to me like something completely different than what you had asked for before.

Highlighted
##

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

12-28-2018
07:34 AM

12-28-2018
07:34 AM

Re: Concatened matrix

Yes ! because my first approach are erroneous

i'm sad

Highlighted

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

12-28-2018
02:06 PM

12-28-2018
02:06 PM

So you would have to explain in more detail how the matrix M is supposed to be built.

I your example (n=4) M has 23 rows !?

The values +8.33 and +25 are never used in M.

I would have expected rather either 3*n (=12) or n^3 (=64) lines in M

What about the zeros in the three matrices? Is there always just one column in each of the three matrices relevant?

Could it be that you are looking for something like this:

Highlighted
##

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

01-10-2019
10:20 AM

01-10-2019
10:20 AM

Re: Concatened matrix

Sorry for the time to make answer...

Yes ! Zeros are not necessary in matrix

Thanks it's great !

it is that's y want !

Thanks for all ! i learn some things with your example

very thanks