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.

LTspice AND statement

Flyback

Well-Known Member
Hi,
Do you know whats wrong with the attached AND statement in LTpsice?
 

Attachments

  • AND.png
    AND.png
    8.5 KB · Views: 51
There is an AND operator, represented by the ampersand symbol '&'. Try your IF statement with the two conditions separated by the & symbol.

The following is from the HELP page on Behavioral Sources

1712516705432.png
 
You want V=IF(v(gate)<1&I(L5)<0.7,0,1)
 

Latest threads

Back
Top