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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

13-Aquamarine

## Concatened matrix

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

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby V
(To:XDN)

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
17-Peridot
(To:XDN)

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

Alan

13-Aquamarine
(To:AlanStevens)

Please you can make me an example ?

I don't see how to make it ?

13-Aquamarine
(To:XDN)

I try it:

24-Ruby V
(To:XDN)

This little program should do the job:

Worksheet in Prime5 format attached

13-Aquamarine
(To:Werner_E)

Great !!

i try to understand it

13-Aquamarine
(To:Werner_E)

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

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

.

.

.

23-Emerald III
(To:XDN)

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

Success!
Luc

13-Aquamarine
(To:LucMeekes)

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

24-Ruby V
(To:XDN)

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.

13-Aquamarine
(To:Werner_E)

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)

24-Ruby V
(To:XDN)

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

13-Aquamarine
(To:Werner_E)

Yes ! because my first approach are erroneous

24-Ruby V
(To:XDN)

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:

13-Aquamarine
(To:Werner_E)

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

Announcements
Top Tags