Passing only timed laps in Maths formulas

Discussion and support for i2 Standard and i2 Pro applications

Passing only timed laps in Maths formulas

Postby Davvid on Sat Apr 06, 2013 3:20 am

Hello!

I'd like to ask if it is possible to insert only timed laps (without the out lap and in lap) to the Maths formulas ?

I don't want to include unreliable data from out- and in- laps in the Maths statistic functions but I can't figure out how to do it. Using function: range_is("Outings:Laps") chooses all samples, including data from out and in laps. And that's what I try to avoid.

Thanks in advance for reply.

Best regards.
Davvid
 
Posts: 4
Joined: Sun Feb 19, 2012 12:23 am

Re: Passing only timed laps in Maths formulas

Postby YuriK on Mon May 20, 2013 4:00 pm

Hi
using stat_min(range_change(Outings:laps)) will give you the first lap - Out Lap
using stat_max(range_change(Outings:laps)) will give you the last lap - In Lap
you can use choose function to calculate a channel that will be valid for all laps except first and last (Out and In) laps

Regards!
YuriK
 
Posts: 78
Joined: Fri Nov 26, 2010 8:16 am

Re: Passing only timed laps in Maths formulas

Postby Davvid on Mon Jun 10, 2013 12:32 am

Hi!

First of all thank you very much for your help. I appreciate it a lot. But it appears that my knowledge of i2 is insufficient to cope with that "choose" function - I can't figure out what to use as first parameter.

Could you help me further with this ?

Thanks in advance.
Davvid
 
Posts: 4
Joined: Sun Feb 19, 2012 12:23 am

Re: Passing only timed laps in Maths formulas

Postby YuriK on Tue Jun 11, 2013 12:45 pm

Hi,
Try to use something like the following

choose(range_change("Outings:Laps") != stat_min(range_change("Outings:Laps")) and range_change("Outings:Laps") != stat_max(range_change("Outings:Laps") ),
range_change("Outings:Laps"), invalid())


where
range_change("Outings:Laps") != stat_min(range_change("Outings:Laps")) -> not the first lap, the Out lap
range_change("Outings:Laps") != stat_max(range_change("Outings:Laps")) -> not the last lap , the In lap

If the condition is true, i.e. the lap is not Out or In lap, the output is range_change("Outings:Laps") which is basically lap number. If the condition is false, i.e. the lap is Out or In, the result is invalid.

When you select a function in Math, there is "Function Help" available to the right of the Expression window. It usually has some examples too.

Regards!
YuriK
 
Posts: 78
Joined: Fri Nov 26, 2010 8:16 am

Re: Passing only timed laps in Maths formulas

Postby EllenBiblo on Wed Jun 19, 2013 8:58 pm

Yeah even I was not able to understand ,even I think my general maths concepts are not clear.Well after your last post it's quite clear now.
EllenBiblo
 
Posts: 1
Joined: Mon Jun 17, 2013 10:26 pm

Re: Passing only timed laps in Maths formulas

Postby Davvid on Sat Jun 29, 2013 4:11 am

Yeah, that's it. Thank you very much, YuriK.
Davvid
 
Posts: 4
Joined: Sun Feb 19, 2012 12:23 am


Return to i2 Data Analysis Software

Who is online

Users browsing this forum: No registered users and 4 guests