Post Reply 
Inquiry Equation on Symbolic and Numeric View
06-15-2022, 02:20 PM
Post: #3
RE: Inquiry Equation on Symbolic and Numeric View
(06-15-2022 11:13 AM)wmundstock Wrote:  So if V1 is greater than V2 then Vout = V+.

I know how to do this with programming using IF statements, but I wanted to reproduce this in one of the E1-E9 variables. Is this possible?

First I don't think you can have variable names with + or - inside.
Then you need to first create the different variables you're using in the equation if they are not predefined.
This being said you can write the equation this way:

Vout=IFTE(V1>V2,Vsp,Vsm)

which means: IF V1>V2 THEN Vout=Vsp ELSE Vout=Vsm where Vsp stands for Vs+ and Vsm for Vs-.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Inquiry Equation on Symbolic and Numeric View - Didier Lachieze - 06-15-2022 02:20 PM



User(s) browsing this thread: 1 Guest(s)