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

SOLVED
Highlighted
Garnet

## 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
Highlighted

## Re: Concatened matrix

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

## Re: Concatened matrix

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

Alan

Highlighted

## Re: Concatened matrix

Please you can make me an example ?

I don't see how to make it ?

Highlighted

I try it:

Highlighted

## Re: Concatened matrix

This little program should do the job:

Worksheet in Prime5 format attached

Highlighted

## Re: Concatened matrix

Great !!

i try to understand it

Highlighted

## 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
Sapphire III
(in response to XDN)

## Re: Concatened matrix

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

Success!
Luc

Highlighted

## 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

## 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

## 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

## Re: Concatened matrix

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

Highlighted

## Re: Concatened matrix

Yes ! because my first approach are erroneous

Highlighted

## Re: Concatened matrix

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

## 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

Announcements