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!
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
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!
I just noticed that Sander made this available as a resource function:
https://resources.wolframcloud.com/FunctionRepository/resources/PhaseUnwrap
Very useful!
Yes I did a while ago. Thanks for noticing and promoting Gustavo!
Peter,
Nice way to do this!
Regards,
Neil
Here is my function for phase unwrapping, just 1 line long:
Unwrap[a_] := a - Tau Prepend[Accumulate[Round[Differences[a]/Tau]], 0];
- Congratulations! This post is now a Staff Pick as distinguished by a badge on your profile! Thank you, keep it coming!