ASAP NEED HELP Unwrap
Show older comments
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
Bob Thompson
on 25 Sep 2019
Pro tip: Titling your question with 'ASAP,' 'URGENT,' 'NOW,' or some other rapid time based response requirement is a great way to get your question ignored, or to have somebody leave you a comment about how they don't have time. Not trying to flame you, just an FYI for how the community works here.
That being said, can you give some more detail about what you mean by 'do not unwrap correctly and drift?' Wrapping and unwrapping is not my forte, and I don't know what exactly you're doing wrong just from that single code.
Nikolaos Zafirakis
on 25 Sep 2019
Bob Thompson
on 25 Sep 2019
Hmmm, ok I understand more. Unfortunately, I don't know that I personally can help with that because I would end up just working through it by trial and error. If you don't get another response soon I would recommend deleting and reposting the question with your added information, and not having the 'ASAP' in the title. You might get more hits that way.
John D'Errico
on 25 Sep 2019
Edited: John D'Errico
on 25 Sep 2019
When you have the ASAP in there, all it does is tell someone that you feel your need to solve your problem is more important than the time of the person who might try to answer it, that we need to get moving and help you. And that just tells some people to not bother.
Regardless, if you feel the automatic stuff in unwrap does not do your data adequate service, then you should probably just write your own code to do so. Something that understands your specific understanding about the problem you want to solve, because it was built by you.
Generic code is rarely that smart about any specific problem.
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
on 26 Sep 2019
Edited: Nikolaos Zafirakis
on 26 Sep 2019
Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


