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


Groups > comp.soft-sys.math.mathematica > #5612 > unrolled thread

Fitting step function

Started bypremiumxy <spam@stefanabel.com>
First post2011-10-12 07:48 +0000
Last post2011-10-12 07:48 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Fitting step function premiumxy <spam@stefanabel.com> - 2011-10-12 07:48 +0000

#5612 — Fitting step function

Frompremiumxy <spam@stefanabel.com>
Date2011-10-12 07:48 +0000
SubjectFitting step function
Message-ID<j73gnp$fuv$1@smc.vnet.net>
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.

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!

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web