Inquiry Equation on Symbolic and Numeric View
06-15-2022, 02:20 PM
Post: #3
 Didier Lachieze Senior Member Posts: 1,641 Joined: Dec 2013
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-.
 « Next Oldest | Next Newest »

 Messages In This Thread Inquiry Equation on Symbolic and Numeric View - wmundstock - 06-15-2022, 11:13 AM RE: Inquiry Equation on Symbolic and Numeric View - roadrunner - 06-15-2022, 01:54 PM RE: Inquiry Equation on Symbolic and Numeric View - Didier Lachieze - 06-15-2022 02:20 PM

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