Difference between X and Y is greater than Z - formula.

Support questions for Flow CSV Viewer and Editor.
Post Reply
dudo02
Posts: 4
Joined: Sun Nov 13, 2022 12:50 pm

Difference between X and Y is greater than Z - formula.

Post by dudo02 »

I've been looking for software like this for a long time - it's perfect. A job well done.

I would like to ask about the formula that looks for values in the graph if the difference between X and Y is greater than Z.
Waveworks
Posts: 169
Joined: Thu Sep 05, 2019 1:05 pm

Re: Difference between X and Y is greater than Z - formula.

Post by Waveworks »

Thank you for your kind words, glad you find it useful! The boolean expression for that would be simply X - Y > Z, or as a formula, b = X - Y > Z, which would give you a boolean variable b that's 1 for samples fulfilling the condition and 0 otherwise. Hope that helps!

Best regards,
Gustaf
Waveworks
Posts: 169
Joined: Thu Sep 05, 2019 1:05 pm

Re: Difference between X and Y is greater than Z - formula.

Post by Waveworks »

An addition to my response: If you mean the absolute difference, use the abs function: b = abs(X - Y) > Z.
dudo02
Posts: 4
Joined: Sun Nov 13, 2022 12:50 pm

Re: Difference between X and Y is greater than Z - formula.

Post by dudo02 »

Thank you very much.
Post Reply