From: Camilo on
Hello. I`m fitting some data with a dumped sinusoidal. I´v tried with cdtool and fit, with custom equations, but it gives horrible results. It doesn´t work even when I use a custom sine function to fit a real sine function, but it works fin when I use the matlab sine function (no custom).

Any idea?
From: John D'Errico on
"Camilo " <camilojm15(a)hotmail.com> wrote in message <hls744$gd9$1(a)fred.mathworks.com>...
> Hello. I`m fitting some data with a dumped sinusoidal. I´v tried with cdtool and fit, with custom equations, but it gives horrible results. It doesn´t work even when I use a custom sine function to fit a real sine function, but it works fin when I use the matlab sine function (no custom).
>
> Any idea?

A dumped sinusoid? I've heard of DAMPED sinusoids,
but I've never heard of one taking a dump.

I will assert that it is very possible to fit a damped
sinusoid, so it is impossible to know what you have
done wrong here unless you show us what you tried.
Perhaps you might post the data you have.

John