Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

sin1(x) > 1 ?

DSP related issues, mathematics, processing and techniques

Re: sin1(x) > 1 ?

Postby KG_is_back » Wed Sep 24, 2014 8:48 pm

I have just noticed the problem. I've found the original paper from where the graph. The graph shows a transfer function of several such stages chained:
In this simulation, the first gain stage employs the equation sin(x) + (abs(sin(x)))^8 – z. This
equation produces the most linear transfer between the input and the output. The second and third
stages employ sin(x) + (abs(sin(x)))^4 – z, which is slightly less linear and in the fourth stage,
sin(x) + (abs(sin(x)))^2 – z, this produces the least linear of the three equations, clipping the
negative portion of the waveform much more dramatically at lower settings.


I even think that the simulation also might have contained the filtering stages.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: sin1(x) > 1 ?

Postby jotb » Thu Sep 25, 2014 8:31 am

here is the paper:
http://ses.library.usyd.edu.au//bitstre ... rt%202.pdf
and I just found out, that in the matlab are negative values used for z. So e.g. -0.2 in the given formula and the function sin(x)+(abs(sins(x)))+0.2 with the given Sine-Wave.wav file, which is half as loud as a sinewave, the plot can be achieved.
But the complete signal chain with filters (I use bidir IIR, not FIR), sounds not that good für higher amounts of distortion :(
I get a lot of high frequency "smearing" and the low end just sounds not right...
jotb
 
Posts: 23
Joined: Mon Jul 28, 2014 5:08 pm

Previous

Return to DSP

Who is online

Users browsing this forum: No registered users and 48 guests