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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Matrix within a Matrix

IRarch
8-Gravel

Matrix within a Matrix

Hello everyone,

 

I have the following matrices:

 

x = (15 -17)    y = (-6 20)   z = (55 -75) 

 

I would like to combine them to form a new matrix such as,

 

A = (x y z)

 

I'm thinking (not sure if its right) A would turn up to be a 1x6 matrix.

 

A = (15 -17 -6 20 55 -75)

 

Then I would like to get the maximum absolute value of A which if everything is possible up to this point then the result would be 75.

 

Any suggestions?

 

Thanks!  

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:IRarch)

Use

A:=augment (x,y,z).

Then the Minimum of your matrix A will be found with:

MinA:=min (A) = -75

To find the Maximum absolute value use:
MaxAbsA:=max (abs (A))= 75

 

Some more:

LM_20180130_MatrixInMatrix.png


Success!
Luc

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald III
(To:IRarch)

Use

A:=augment (x,y,z).

Then the Minimum of your matrix A will be found with:

MinA:=min (A) = -75

To find the Maximum absolute value use:
MaxAbsA:=max (abs (A))= 75

 

Some more:

LM_20180130_MatrixInMatrix.png


Success!
Luc

Yes, Your solution is correct. This is the simple way to get the solution of this problem. Same solution also in my mind but you already did good effort.

Announcements

Top Tags