Arnaud Guillemot Posted August 26, 2020 Share Posted August 26, 2020 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 Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted August 26, 2020 Share Posted August 26, 2020 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 Link to comment Share on other sites More sharing options...
Arnaud Guillemot Posted August 26, 2020 Author Share Posted August 26, 2020 Thanks Thorsten, that exactly that. It's working now. Jumping form Excel to Seeq, I am not used to take the units into consideration. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now