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.



Nada (view profile)


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.


for an example


Wayne King

Wayne King (view profile)

Contact us