# 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

Register a new account

×