Felix Jing Posted August 17, 2020 Posted August 17, 2020 Hi there, I used $a +$b to add 2 signals, what i find weird is that when one of the signal is 0, the other has value, the result is still 0. I only the sum result at a time when both signal has values. How can I fix this? Thank you
Seeq Team Lindsey.Wilcox Posted August 17, 2020 Seeq Team Posted August 17, 2020 Hi Felix- To do this, you will need to replace the missing data gaps in your signals with 0. This can be done by following the steps in the following forum post: Please let me know if you have any additional questions. Thanks, Lindsey 1
Felix Jing Posted August 17, 2020 Author Posted August 17, 2020 thats exactly what i am looking for, didnt know the data missing.
Seeq Team Sepide Posted August 18, 2020 Seeq Team Posted August 18, 2020 Felix, Please let me know if this is the problem you have: Here is the result of adding two signals when one of them has gaps in it: Solution Step1: Identify the gaps in Signal1 using the following formula: $s1.isNotValid() Step 2: Substitute the gaps in Signal1 with zero using the Splice function: $Signal1.splice(0.tosignal(),$Gap) Step3: Use the newly created signal(Without gaps) and add it to the second signal: $Signal1NoGap+$Signal2 Please let us know if this answers your question. Thank you 1
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