Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Comparing signal to a function

조회 수: 1 (최근 30일)
Avri
Avri 2014년 3월 29일
마감: MATLAB Answer Bot 2021년 8월 20일
I have a system of sensors that located along X-axis (i.e. at x = 1,20,40,60,80,100).
The goal is to determine if the received signal in the sensors is a part of a predetermined function.
For example:
Assume that the predetermined function is Y:
x = 1:100; Y = 5*sin(0.5*x);
And the received signal is: I = [7 22 19 11 22 35]
Note that the signal is at x = 1,20,40,60,80,100
Sometimes, the signal can be a partial of Y but with phase different.
What is the best way to compare the signal to the given function?

답변 (1개)

Walter Roberson
Walter Roberson 2014년 3월 29일
Every signal matches every function that is defined over the same range... to within some error margin.
You need to figure out what you want your error margin to be, and you need to decide whether a longer stretch whose error margin is within the cut-off is to be accepted if there is a sub-sequence over which the error margin is exceeded.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by