Jump to content

Polynomial formula

Recommended Posts

Hello,

I am trying to create a polynomial formula using the formula tool but I get the following error message "t is not compatible with t²  at" with 'add' or 'subtract' after. Same with t²  and t³.

How can I create such formula? Example: 2 * \$a^3 + 5 * \$a^2 - 8 * \$a + 200

Share on other sites

Hello Arnaud,

the error is occuring because of the unit of the signal. I guess the unit of your signal is "t" which is converted to "t²" and "t³" for the respective parts of the formula. Therefore they cannot be used in an addition or subtraction. To get the fomula working simply convert the signal to a unitless one before calculating the polynom.

The resulting signal is unitless. You can use the setUnits() function to specify a unit if you need one.

Hope this helps.

Regards,

Thorsten

• 2
• 1
Share on other sites

Thanks Thorsten, that exactly that. It's working now.

Jumping form Excel to Seeq, I am not used to take the units into consideration.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
• Create New...