How to measure rate of change

solomonB's icon

I was wondering if anyone had any useful ways of measuring rate of change in a variable? Are there any particular externals or abstractions that are useful for this?

Alexander Refsum Jensenius's icon

> I was wondering if anyone had any useful ways of measuring rate of
> change in a variable?

Max Patch
Copy patch and select New From Clipboard in Max.

> Are there any particular externals or abstractions that are useful
> for this?

Probably lots of them, for example jcom.delta.

Cheers,
Alexander

Jakob Riis's icon

Is it something like this you are looking for?

Max Patch
Copy patch and select New From Clipboard in Max.

alexander's icon

I would use a combination of 'table' and 'expr', but it all depends on details.. couldn't help you there!

solomonB's icon

Those are both good solutions depending on the specific situation (I have a lot of situations to deal with right now). This should be a good starting point for me.

What is jcom.delta? A google search did not reveal anything.

Owen Green's icon

Trond Lossius has, IIRC, blessed the world with an object for this.

--
Owen

Solomon Bothwell wrote:
> I was wondering if anyone had any useful ways of measuring rate of
> change in a variable? Are there any particular externals or
> abstractions that are useful for this?
>
>

LoneMonad aka don malone's icon

i think i got this from gregory taylor
it is very useful

Max Patch
Copy patch and select New From Clipboard in Max.

Alexander Refsum Jensenius's icon

> What is jcom.delta? A google search did not reveal anything.

You can find it as part of Jamoma:
http://www.jamoma.org/
It is equal to tl.delta.

Alexander

solomonB's icon

Woah this patch is perfect. Thank you everyone.

seejayjames's icon

That patch is great. The smoothing idea (recursive scaling of numbers) is so simple but fundamental to data management.

Also the "instantaneous derivative" idea --- I had thought you'd need to bust out the calculus book for formula-based derivatives, and sometimes you could (to get the actual full formula like for polynomials), but this version works on a point-by-point basis over change through a simple subtraction (delta). Also very fundamental and helpful to my understanding of the math involved, thanks!

--CJ