• 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.

Step command for two components

Status
Not open for further replies.

Mikebits

Well-Known Member
I got a question. Can you use the step command to alter two component values in LTspice? For 1 component, you put {X} for the component value. So if you wanted to step two part values how would the simulator know which part was what if two parts had {X} value and the spice directive is .step param X

???
Thanks
 

MikeMl

Well-Known Member
Most Helpful Member
I got a question. Can you use the step command to alter two component values in LTspice? For 1 component, you put {X} for the component value. So if you wanted to step two part values how would the simulator know which part was what if two parts had {X} value and the spice directive is .step param X
If two different parts are controlled by param X, both vary as X does:

47.png

No reason why either or both part(s) couldn't be an expression which is a function of X, like {10*X} or {X*X} or {sin(X)}
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top