ASAP NEED HELP Unwrap

3 views (last 30 days)
Nikolaos Zafirakis
Nikolaos Zafirakis on 25 Sep 2019
Edited: Nikolaos Zafirakis on 26 Sep 2019
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 Comments
David Goodmanson
David Goodmanson on 26 Sep 2019
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 on 26 Sep 2019
Edited: Nikolaos Zafirakis on 26 Sep 2019
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.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!