Quantcast
Channel: PTC Community : Popular Discussions - Other Subjects
Viewing all articles
Browse latest Browse all 5789

Decimating arrays and vectors

$
0
0
I'm just getting used to mathcad and am having difficulting finding a good way to decimate arrays/vectors of data (i.e. extracting every nth element of a source array/vector and stuffing those elements into a destination array/vector).

So far, using range variables has simply filled my destination vector/array with the last element of my source array/vector.

I haven't found a way to use programming to do it either. I have multiple arrays which need to be decimated into a single array so that I don't have to work with multiple mega-element arrays.

Any suggestions would be appreciated.

Viewing all articles
Browse latest Browse all 5789

Trending Articles



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