필터 지우기
필터 지우기

Using mscohere() on two Signals with different sampling frequencies each

조회 수: 5 (최근 30일)
Martin Quintus
Martin Quintus 2022년 7월 16일
답변: Paul 2022년 7월 17일
Hello Again Mathworks Community!
I'm having trouble using mscohere in my Code.
I want to calculate the magnitude squared coherence of two arrays of size (1,:). Thing is: The sampling rates differ. The first array was recorded with a sampling frequency of 6250Hz, the second one with 8533.333 Hz.
Is there a "clean" way to force the two sampling rates together without losing information? Or is there a way to let matlab know the sampling rates at all times?

답변 (1개)

Paul
Paul 2022년 7월 17일
resample might be useful to bring the sampling rates together. Lots of options involved, so probably want to experiment to make sure the resampled signal(s) are sensible for the application at hand.

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by