Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Fitting step function
Replies: 6   Last Post: Oct 21, 2011 6:26 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Virgil Stokes

Posts: 77
Registered: 3/16/06
Re: Fitting step function
Posted: Oct 13, 2011 3:09 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 12-Oct-2011 09:44, premiumxy wrote:
> Hello,
>
> I have the following problem: I have a set of data about some phase information of a signal. At certain points there is a clear step of 180 degrees.

These "certain points" might be due to phase wrapping and can be caused by the
discontinuity in the arctan function. Perhaps, worth at least looking at before
going in further with your problem.
>
> I would like to fit this data to find the x-coordinates of these steps. I have the feeling that "normal" step-functions in Mathematica (such as UnitStep, HeavisideTheta, Sign...) are not varied in the fit-routines (such as NonlinearModelFit). I guess it this is caused by the functions not being continuous.
>
> I would appreciate any hints for this quite simple (?)problem. The only option that I can currently see is to create a "step-like" continuous function such as Tanh[A x] (with A>>1)
>
> Thanks!
>

Best regards :-)





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.