flatmaster

I have a function I want to model. It is periodic, but the period keeps decreasing. Basically, it'll be a periodic function "squished" for larger values of x.

The typical fourier series is...
y = SUM{aSin(nx)} + SUM{bCos(nx)}

I think I will attempt

y = SUM{aSin(nx^2)} + SUM{bCos(nx^2)}

replacing x -->x^2 should give me the "smushing" that I want.

The application is bladder level as a function of beers consumed. The basic function is an increasing (quadratic, exponential) function followed by a linear, steeply sloped drop to zero.

fresh_42

Mentor
2018 Award
I guess you should worry the amplitude as well. Your general function is $f(t) = A(t)\sin(p(t)+p_0)$. Now you can try some functions for $A(t)$ and $p(t)$. I would let WolframAlpha do the graphics until I'm satisfied.

Dr Transport

Gold Member
sounds like you need a wavelet transform, not a Fourier transform

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving