Quantcast
Channel: PTC Community : All Content - Programming & Extending Mathcad
Viewing all articles
Browse latest Browse all 680

Maximum value for each m,n across X arrays/matrices

$
0
0

Hi all,

 

I am working on expanding the functionality of an old program to be able to perform an vector of cases for an already established vector.  I have worked out all of the issues within the program to calculate each reasulting array/matrix.  Now I want to compare results across the matrices using the max function.  Previously I had used the augment function to combine vectors, but that isn't keeping the m,n combinations needed to be compared across the matrices at each m,n.  Basically, I have x number of 11 x 7 matrices that I want the maximum value for each m,n combination reported in a resulting 11 x 7 matrix. 

 

I have inserted the image below the shows what I have described above.  I want the maximum value for each m,n in this matrix for the X number of nested matrices.  This example just shows 2 matrices are nested.

 

Nested array.png

I would greatly appreciate the help of the community.  I searched previous postings and it seems that you can't do a calculation, such as max in this situation, so I would appreciate an alternative approach.

 

THANKS and have a great day!!!


Viewing all articles
Browse latest Browse all 680


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>