Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

Comparing data from two arrays

$
0
0

I am looking for the easiest way to compare the data from two arrays. I have two output arrays, each consisting of one column and several rows and I would like to compare the two to find the max value for each row. The final result should be another array with one column and the same number of rows. I've been trying if/then statements and the 'max' function but am unsure how to vectorize these equations and get them to compare the data row by row.

 

Thanks.


Viewing all articles
Browse latest Browse all 2936

Trending Articles



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