Desired Sum of Two Curves; suggestions?
From: axlq (axlq_at_spamcop.net)
Date: 10/19/04
- Next message: Norman Megill: "Re: (Not quite) Cantor's diagonal proof"
- Previous message: Bill Taylor: "Cute little next-to-nothing."
- Next in thread: Matt Timmermans: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: Matt Timmermans: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: Fred Marshall: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: Narasimham G.L.: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: axlq: "Re: Desired Sum of Two Curves; suggestions?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 19 Oct 2004 04:07:12 +0000 (UTC)
I'm working on an adaptive digital filter that requires two
nonlinear control parameters, call them b and c. The filter itself
controls these parameters. I'm trying to invent formulas for b
and c (as functions of another parameter x) that conform to the
following conditions:
0. I don't care about negative x values.
1. The sum b(x)+c(x) results in a curve that rises from zero at
x=0, always has a positive slope with no inflection points, and
asymptotically approaches a value g -- Sort of similar to the curve
g*(1-exp(-x)) but doesn't have to be that specific curve.
2. b(x) must rise from zero at x=0 to some maximum, then fall
through one inflection point toward zero again but never reach it,
asymptotically approaching it. Say the maximum occurs at x=p, and
c(x)=0 at x=infinity.
3. c(x) must start out at zero at x=0 and sort of crawl along the x
axis until x>p, after which c(x) rises asymptotically toward value
g. That is, c(x) rises from zero, always has a positive slope, but
has one inflection point and reaches a maximum value at x=infinity.
I just need some generic functions I can play with; the details
will have to be worked out in the context of the data stream I'm
filtering.
<pre>
If you have a fixed width font, then graphically, a(x) looks like
this:
| *
| * *
| * *
| * *
| * *
|* * *
*--------p------------------------->x
b(x) would look like this:
| * *
| *
| *
| *
| *
| *
*--------p-------------------------->x
And the sum a(x)+b(x) would look like this:
| * *
| *
| *
| *
| *
|*
*----------------------------------->x
</pre>
Does anyone know of a family of curves that will do this?
I can come up with something for a(x). Start with a parabola that
intersects the x axis at zero and 2p. Then make the parabola a
function of 2p*(1-exp(-x)) instead of a function of x. That way the
"independent variable" of the parabola never reaches 2p, and you get
a curve that rises and falls, but never crosses the x axis a second
time.
I can't come up with a function for an s-shaped curve such as b(x)
though, which rises from zero, always has a positive slope with one
inflection point, and asymptotically approaching some maximum value.
Any ideas?
-Alex
P.S. Before someone makes a wrong assumption, this is not homework.
I got my master's degree over a decade ago. This is related to my
job.
- Next message: Norman Megill: "Re: (Not quite) Cantor's diagonal proof"
- Previous message: Bill Taylor: "Cute little next-to-nothing."
- Next in thread: Matt Timmermans: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: Matt Timmermans: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: Fred Marshall: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: Narasimham G.L.: "Re: Desired Sum of Two Curves; suggestions?"
- Reply: axlq: "Re: Desired Sum of Two Curves; suggestions?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|