10-15-2011 11:31 AM
Hi everybody
i have a simple question but i can't find a valid solution 😄
i have a formula (as a string type) in this form: y = a0 + a1x1 + a2x2 +.. now i just need to determinate the reciprocal and put it in this form:
y = 1/(a0 + a1x1 + a2x2 +..) ; i don't need a result, just obtein this form because after i have to implement this function in labview, but all the .vi i find in the Scripts & Formulas palette return a result.
Does anyone have an idea which is a possible solution??
Thanks
10-15-2011 11:43 AM - edited 10-15-2011 11:45 AM
Well, if you just want to edit the formula as string, all you need are simple string manipulations. For example you could search for "= ", insert the string "1/(" after it, and append the string ")" at the end.
(LabVIEW does not do symbolic math. Maybe you have some misconceptions.)
10-15-2011 12:06 PM
Uhm.. ok! string manipulation... i will take this way!!