Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Cross Spectra and Coherence

Asked by Nada

Nada (view profile)

on 21 Jul 2013

Hello all,

I have a couple of questions,

First, can i use all matlab libraries in C# ?

Second, is there a matlab library that does the Cross-Spectra and Coherence calculations for 2 time domain signals ?

Thanks in advance.

Best, Nada.

0 Comments

Nada

Nada (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Wayne King

Wayne King (view profile)

on 21 Jul 2013

You can compute the cross-spectrum and magnitude-squared coherence with cpsd.m and mscohere.m in the Signal Processing Toolbox.

See

https://www.mathworks.com/help/signal/ug/cross-spectrum-and-magnitude-squared-coherence.html

for an example

0 Comments

Wayne King

Wayne King (view profile)

Contact us