-
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
Extract data around extrema
- This topic has 3 replies, 2 voices, and was last updated 13 years, 4 months ago by Anonymous.
-
AuthorPosts
-
July 5, 2011 at 8:52 am #12726AnonymousGuest
Hello,
I’d like to extract data before and after 1000 from extrema.
I created following formula but it doesn’t work.
Dim myP = GlobalExtrema(‘Dataset1’,EVENT_POSITIVE,EVENT_INDEX)
Dim S, F
S = myP – 1000
F = myP + 1000
‘Dataset1′[S, F]Please tell me what’s wrong with it 😥
Masahiro
July 5, 2011 at 8:52 am #8390AnonymousGuestHello,
I’d like to extract data before and after 1000 from extrema.
I created following formula but it doesn’t work.
Dim myP = GlobalExtrema(‘Dataset1’,EVENT_POSITIVE,EVENT_INDEX)
Dim S, F
S = myP – 1000
F = myP + 1000
‘Dataset1′[S, F]Please tell me what’s wrong with it 😥
Masahiro
July 5, 2011 at 9:10 am #9185Bernhard KantzParticipantThe GlobalExtrema-function returns a data series with the indices. Therefore you have to change your FPScript formula as follows:
Dim myP = GlobalExtrema(‘Dataset1’, EVENT_POSITIVE, EVENT_INDEX)[0]
July 5, 2011 at 11:35 am #9186AnonymousGuestThank you.
Now it works fine!
-
AuthorPosts
- You must be logged in to reply to this topic.