How to unwrap a signal?

조회 수: 4 (최근 30일)
Lizan
Lizan 2016년 2월 4일
편집: Walter Roberson 2016년 2월 4일
I like to unwrap this vector, I calculated with a cos-function to obtain a nice dip.
The figure looks like this:
I would like to obtain this (see the orange line),
Attaching the vector as .mat
  댓글 수: 1
Lizan
Lizan 2016년 2월 4일
편집: Lizan 2016년 2월 4일
I had a code like this:
signal = p4;
t2 = 1:1:length(p4);
peakValue = max(signal);
index1 = find(signal > (peakValue - 0.001), 1, 'first');
index2 = find(signal > (peakValue - 0.001), 1, 'last');
signal(index1:index2) = 2 * peakValue - signal(index1:index2);
signal(index1:index2) = signal(index1:index2);
but it not working anymore..

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by