01-11-2014 01:46 PM
Hi guys, I have problem with one thing: "write a piece of code that will allow the implementation of linear interpolation calculations"
I can use only "Add";"Subtract";"Divide";"multiply" and "numeric control". I don't even know how to start with it ;/
01-12-2014 02:37 AM
@krkk wrote:
Hi guys, I have problem with one thing: "write a piece of code that will allow the implementation of linear interpolation calculations"
(Your use of the word "code" is generic, bu since you posted in the LabVIEW forum, I assume LabVIEW code. Is this correct?)
Do you have problems with the math itself or with implementing all this in LabVIEW?
Since the math is trivial, I would suggest to start with some LabVIEW tutorials.
@krkk wrote:
I can use only "Add";"Subtract";"Divide";"multiply" and "numeric control". I don't even know how to start with it ;/
LabVIEW has plenty of built-in tools that can do all that directly. However, I can tell you that you need more that what's in the list (e.g. you also need wires, indicators, etc.). This seems like a school exercise and we won't do your homework. Show us how far you got and explain exactly where you are getting stuck. Maybe we can give you some hints after that.
01-12-2014 11:30 AM
In addition to altenbach's wise advice you need to tell us what you mean by "step by step." Do you receive the data values f(xi) and xi one at a time or are they all available in arrays? The answers may make a difference in how your program gets structured.
Lynn