-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +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.