From: Luna Moon on
Hi all,

I have signals that are very chaotic and choppy. I suspect that there
are quite a bunch of major and minor cycles inside. What's the best
way to detect and single out those cycles?

Any Matlab code around?

Thanks a lot!
From: Jerry Avins on
On 6/11/2010 2:13 PM, Luna Moon wrote:
> Hi all,
>
> I have signals that are very chaotic and choppy. I suspect that there
> are quite a bunch of major and minor cycles inside. What's the best
> way to detect and single out those cycles?

FFT?

> Any Matlab code around?

Sure!

Jerry
--
Engineering is the art of making what you want from things you can get.
�����������������������������������������������������������������������
From: Luna Moon on
On Jun 11, 2:24 pm, Jerry Avins <j...(a)ieee.org> wrote:
> On 6/11/2010 2:13 PM, Luna Moon wrote:
>
> > Hi all,
>
> > I have signals that are very chaotic and choppy. I suspect that there
> > are quite a bunch of major and minor cycles inside. What's the best
> > way to detect and single out those cycles?
>
> FFT?
>
> > Any Matlab code around?
>
> Sure!
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.

How? I am looking for a complete solution...
From: Vladimir Vassilevsky on


Luna Moon wrote:

> Hi all,
>
> I have signals that are very chaotic and choppy. I suspect that there
> are quite a bunch of major and minor cycles inside. What's the best
> way to detect and single out those cycles?
>
> Any Matlab code around?
>
> Thanks a lot!

Wow, what a cretin!
From: Wayne King on
Luna Moon <lunamoonmoon(a)gmail.com> wrote in message <c21a84b3-17fd-4791-9fb1-c856b043f368(a)f7g2000vbl.googlegroups.com>...
> Hi all,
>
> I have signals that are very chaotic and choppy. I suspect that there
> are quite a bunch of major and minor cycles inside. What's the best
> way to detect and single out those cycles?
>
> Any Matlab code around?
>
> Thanks a lot!

Hi Luna, if you have the Signal Processing Toolbox, the spectrum objects are a quick way to get a spectral estimate.

For example:

% Sampling frequency 1 kHz
Fs = 1000;
t = 0:1/Fs:1;
x = cos(2*pi*60*t)+0.5*cos(2*pi*120*t)+randn(size(t));
H = spectrum.periodogram('Hamming');
plot(psd(H,x,'Fs',Fs));


Hope that helps,
Wayne