help-gnucap
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnucap] Settling time measurement for underdamped systems


From: al davis
Subject: Re: [Help-gnucap] Settling time measurement for underdamped systems
Date: Thu, 16 Jul 2009 11:42:37 -0400
User-agent: KMail/1.11.4 (Linux/2.6.26-1-amd64; KDE/4.2.4; x86_64; ; )

On Thursday 16 July 2009, John Griessen wrote:
> > fall = last specifies only the first swing and not the
> > swings after that.
>
> No, in this case, last just means last one in program
> execution order, not in the time scale.

Last does mean last in time.

"cross" finds a crossing ..  If there are many, which one?

You can specify "first" or "last".  If you want something else, 
it isn't directly available, but there is a trick ...

measure firstcross = cross( ..... first .... )
measure secondcross = cross ( ..   after=firstcross ..  first)

A similar trick could find second to last:

measure lastcross = cross( .... last ....)
measure nexttolast = cross( .. before=lastcross .. last ..)


> So now the functional programming, (all in parallel),
> settlingtime function gets defined.

params are treated like functional programming.

measures are treated like imperitive programming.

so ..

param a={b+c}
says that "a" is the same as "b+c", always.

measure b=cross(...)
says to do it now.  The value assigned to b is a number.
Lisp setq?

There are plans to combine them, but there are issues to be 
overcome.  Both commands will be kept .. what will be done is to 
use support full expressions in measures and allow measure 
functions in param expressions.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]