Group Abstract Group Abstract

Message Boards Message Boards

Phase unwrapping

POSTED BY: Sander Huisman
8 Replies
Posted 6 years ago

Hello, I am having some troubles with an exercise, maybe can you help me? I have a function that I have to wrap and then unwrap to show that I have the original phase Can your function help me with that? Thanks!

POSTED BY: Nicolas Molano

Hi Nicolas, I guess it could! Have a look at the examples here: https://resources.wolframcloud.com/FunctionRepository/resources/PhaseUnwrap

There you can also copy the resourcefunction so you can directly use it.

Cheers!

–SH

POSTED BY: Sander Huisman
Posted 6 years ago

Sander thank you for your answer, I have the following function: f(t)=3cos(4t); 0<t<1 That is the function that i have to wrapp and then unwrapp How can i use it with your code? Thanks!

POSTED BY: Nicolas Molano

I just noticed that Sander made this available as a resource function:

https://resources.wolframcloud.com/FunctionRepository/resources/PhaseUnwrap

Very useful!

POSTED BY: Gustavo Delfino

Yes I did a while ago. Thanks for noticing and promoting Gustavo!

POSTED BY: Sander Huisman

Peter,

Nice way to do this!

Regards,

Neil

POSTED BY: Neil Singer
Posted 7 years ago

Here is my function for phase unwrapping, just 1 line long:

Unwrap[a_] := a - Tau Prepend[Accumulate[Round[Differences[a]/Tau]], 0];
POSTED BY: Peter Karpov

enter image description here - Congratulations! This post is now a Staff Pick as distinguished by a badge on your profile! Thank you, keep it coming!

POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard