Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5628

Re: Fitting step function

From Virgil Stokes <vs@it.uu.se>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Fitting step function
Date 2011-10-13 07:54 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j765fo$2dj$1@smc.vnet.net> (permalink)
References <201110120744.DAA16264@smc.vnet.net>

Show all headers | View raw


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 :-)

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Fitting step function Virgil Stokes <vs@it.uu.se> - 2011-10-13 07:54 +0000

csiph-web