-
FlexPro
- Zoom sur FlexPro
- Fonctionnalités & Options
- Domaines d’application
- Tous les avantages
- Nouveau dans FlexPro 2021
- Testez FlexPro gratuitement
- FlexPro View OEM Freeware
- Conseils d’achat
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produits
- News
- Support
- Société
- Emplois
- Contact
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
Seeking extrema
- This topic has 2 replies, 2 voices, and was last updated 17 years, 11 months ago by Dirk Kampffmeyer.
-
AuthorPosts
-
December 5, 2006 at 11:23 pm #12505Dirk KampffmeyerParticipant
Hello,
I would like to search an extrema and reduce the signal starting from this extrema. The program, however, outputs nothing but a failure of data structure.
dim idxextrema=GlobalMaximum(Ch1,EVENT_INDEX)
CH1[[idxextrema, Empty]]December 5, 2006 at 11:23 pm #8168Dirk KampffmeyerParticipantHello,
I would like to search an extrema and reduce the signal starting from this extrema. The program, however, outputs nothing but a failure of data structure.
dim idxextrema=GlobalMaximum(Ch1,EVENT_INDEX)
CH1[[idxextrema, Empty]]December 5, 2006 at 11:54 pm #8805Bernhard KantzParticipantWhy do you use the Value Index operator and Empty as second argument?
The result of GlobalMaximum is a data series with the indices of the maxima. In your case you need a scalar start index and a scalar end index. Use the Index operator. -1 is the index of the last value.CH1[idxextrema[0], -1]
The result is a signal starting from the first maximum.
If you only need the maximum y-value use the Maximum-function.
Maximum(ch1) //is equivalent to CH1[idxextrema[0]]
-
AuthorPosts
- You must be logged in to reply to this topic.