IF AND in LTspice?

Status
Not open for further replies.

Flyback

Well-Known Member
Hi,
I want to do the following in LTspice, but it complains about the syntax...

V=IF( ((V(comp1)<-1)&(V(gate2) <1)) ,+1 ,-1) )

Do you know how?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…