1-Visitor
July 15, 2010
Question
New lookup function
- July 15, 2010
- 1 reply
- 16689 views
I am trying to write a function which is similar to Mathcad’s built in lookup functions. I have managed to write a basic version which will accept a variable ‘n’ as a decimal (the function rounds the variable to the nearest whole number) and return the corresponding values from the Matrix ‘cc’ using the predefined function subvector.
The reason for the function is to allow the user to extract the required values from the table to allow for interpolation.
Any criticism or improvements are welcome.
Mike

