Re: [ng-spice] u2 function
On Tue, 2 May 2000, widlok wrote:
> My u2 is much simpler, because it was very difficult to get time there.
> u2(x) returns 0 if x<0, 1 if x>1 and x if 0<x<1. This works really good in
>my
> model.
Oops, I have understood that your model was different from IF-THEN-ELSE
condition. Your function is a class C0 function, continuous but with first
and subsequent derivatives not continuos, this may cause convergence
problems.
Another point, do you believe that this function is a step for your
circuit ? Some fast circuit may see it as a ramp, am I right or I am only
a sophisticated theorethical EE student ?
Paolo
Partial thread listing:
- Re: [ng-spice] u2 function, (continued)
- widlok