ASAP NEED HELP Unwrap

4 次查看(过去 30 天)
Nikolaos Zafirakis
Nikolaos Zafirakis 2019-9-25
I have 1000 measurements which have been wrapped to 30000 and unwrapped they should be 60000. In order to this I am applying the code below but some of the measurements do not unwrap correctly and drift can be seen out of the needed range.
Does anyone know how to fix my code?
A = (unwrap(B/2^15*pi)*2^15/pi)
  6 个评论
David Goodmanson
David Goodmanson 2019-9-26
Hi Nikolaos,
by 30000, i presume you mean 2^15. The first two jumps are on the order of +-2^16 = +-65536 and look like the effects of a wrap. The third jump, up around x = 30, is approximately -45000, so how do you know that it is due to a wrap?
Nikolaos Zafirakis
Nikolaos Zafirakis 2019-9-26
编辑:Nikolaos Zafirakis 2019-9-26
Hello David,
I don't know I got given some data and were just told that it is wrapped, and I need to unwrap it. I managed to do the majority, but I get these weird outcomes as you spotted. Do you have any ideas of how to devise an algorithm to unwrap them correctly?
The output should not pass +-65536.

请先登录,再进行评论。

回答(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