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

Concatened matrix

XDN
13-Aquamarine
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

C_matrix.JPG

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
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:

B.png

View solution in original post

14 REPLIES 14

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

 

Alan

XDN
13-Aquamarine
13-Aquamarine
(To:AlanStevens)

Please you can make me an example ?

I don't see how to make it ?

XDN
13-Aquamarine
13-Aquamarine
(To:XDN)

I try it:Capture-4.JPG

 

 

 

Werner_E
24-Ruby V
(To:XDN)

This little program should do the job:

B.png

Worksheet in Prime5 format attached

XDN
13-Aquamarine
13-Aquamarine
(To:Werner_E)

Great !!

i try to understand it Smiley Happy

XDN
13-Aquamarine
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

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

.

.

.

 

LucMeekes
23-Emerald III
(To:XDN)

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

LM_20181227_concatMat.png

 

Success!
Luc

XDN
13-Aquamarine
13-Aquamarine
(To:LucMeekes)

Great Luke

i make a new parameter

A'

B'

to match with werner's algorythm

Now it's right Capture_0.JPG

 

 

You are great's people

Thank's for all

Werner_E
24-Ruby V
(To:XDN)

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

B.png

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

 

Worksheet in P5 format attached.

XDN
13-Aquamarine
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)3D_pnt.JPG

 

 

 

 

 

Werner_E
24-Ruby V
(To:XDN)

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

XDN
13-Aquamarine
13-Aquamarine
(To:Werner_E)

Yes ! because my first approach are erroneous

i'm sad

Werner_E
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:

B.png

XDN
13-Aquamarine
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

 

Top Tags