Hi,
I would like to create a variable resistor as following:
R2=1 if i(R2)<1
R2=2 if 1<i(R2)<10
R2=3 if i(R2)>10
I know that the sintax is:
R=if(condition,valueiftrue,valueiffalse)
What about if I have three intervals?
The .asc file and the IF statement law is also shown in the attached files.
Which is the correct sintax to do that?
Thank you.
I would like to create a variable resistor as following:
R2=1 if i(R2)<1
R2=2 if 1<i(R2)<10
R2=3 if i(R2)>10
I know that the sintax is:
R=if(condition,valueiftrue,valueiffalse)
What about if I have three intervals?
The .asc file and the IF statement law is also shown in the attached files.
Which is the correct sintax to do that?
Thank you.