TGS4
Mechanical
- Nov 8, 2004
- 3,917
I have an array called S, it is not monotonic, but essentially random. I have found the maximum value using the max(S) function. Now, I would like to know the index at which S is a maximum.
I have searched through these eng-tips archives (best I could with the search tools available), and have searched on PTC's site and used a few google searches, but I have not turned up how to do this.
I suspect that this is a simple matter, so I would appreciate it if someone would please point me in the right direction.
I have searched through these eng-tips archives (best I could with the search tools available), and have searched on PTC's site and used a few google searches, but I have not turned up how to do this.
I suspect that this is a simple matter, so I would appreciate it if someone would please point me in the right direction.