LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

symbolic functions

i would like to know how to evaluate symbolic expression in labview

0 Kudos
Message 1 of 8
(3,884 Views)
Can you be a bit clearer and more explanatory on what exactly you want to do... ?
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 8
(3,881 Views)
i want to divide for example (x^3+x+1)by (x^2+1) ,performing long division
0 Kudos
Message 3 of 8
(3,878 Views)
Try the Mathscript node, if you have the PDS version of LV 8.5 or later.
Message Edited by parthabe on 05-06-2009 02:18 AM
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 8
(3,876 Views)
Else, you can always use the primitives in the Numeric palette for simple calculations like these. Smiley Happy
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 8
(3,871 Views)

This thread is related to this one... Just to get the background Smiley Wink

 

To my knowledge MathScript /Matlab is the best you can get for symbolic operations...

Message Edited by GerdW on 05-06-2009 10:47 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 8
(3,845 Views)

If you want to divide polynomials then why not use the "Divide Polynomials.vi"?  This will give the quotient and remainder polynomials.  I believe the CRC algorithms utilize the remainder of the polynomial division.  If you are interested in the algorithm, just open the subVIs.  The core division algorithm is implemented in G.  Attached a VI that implements your sample problem.

 

-Jim

Message 7 of 8
(3,822 Views)

LabVIEW doesn't really do symbolic math.

 

If you need that, you might want to look into the Maple Professional Toolbox for LabVIEW. (Sorry, I am not familiar with it).

 

Maybe there is also a way to use e.g. Maxima from within LabVIEW.

0 Kudos
Message 8 of 8
(3,810 Views)