Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

IF AND in LTspice?

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?
 
1678045033429.png

Like this.
 

Attachments

Latest threads

Back
Top