Results 1 to 3 of 3

Thread: lookup() function question

  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    81

    Default lookup() function question

    I've got a non linear WB controller (old school techedge).

    I came up with a poly equation for it, but I want to try the lookup function.

    The documentation says:
    Syntax: lookup(x,a1,a2,b1,b2,…,c1,c2)
    Arguments: x: a numerc expression
    a1,a2,b1,b2,…c1,c2 is a list of pairs of values.
    Return Value:
    The value of the second value of the pair whose first value is less than or equal to x
    The list of value pairs must be sorted on the first value of each pair.

    How should the list be sorted (decending)?

    I guess I could just try it, but I'm too lazy to type it twice.

  2. #2
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,500

    Default

    I know the feeling

    Ascending! Smallest voltage first, highest voltage last.

  3. #3
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,500

    Default

    Quote Originally Posted by Blacky
    I know the feeling

    Ascending! lowest voltage first, highest voltage last.

Similar Threads

  1. t43 rev-matching function
    By pontnewynyddboy in forum Gen IV V8 Specific
    Replies: 9
    Last Post: October 7th, 2009, 11:06 AM
  2. New Function in Build 80
    By ChipsByAl in forum General
    Replies: 3
    Last Post: February 13th, 2009, 07:06 PM
  3. DTC Lookup Request Wish list Item
    By TFZ_Z06 in forum Black Box Logging
    Replies: 0
    Last Post: August 23rd, 2008, 01:45 PM
  4. What do you think? (ctrl) Function
    By Black02SS in forum General (Petrol, Gas, Ethanol)
    Replies: 12
    Last Post: August 12th, 2005, 11:13 AM
  5. Integrate function(s)
    By joecar in forum General
    Replies: 9
    Last Post: July 16th, 2005, 08:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •