Shift phase angles
comunwrap(A,tol,dim),shift phase angles.
Unwraps radian phase angles of sequence A according to dimension dim. Whenever the jump between consecutive angles is greater than or equal to tol radians, comunwrap shifts the angles by adding multiples of ±2π until the jump is less than tol.
dim = 1, unwrap by column; dim = 2, unwrap by row
A |
|
1 |
=[[0,7.07],[0.19,0.98],[6.67,1.18],[0.59,1.37],[0.78,1.56]] |
2 |
=comunwrap(A1,3.14,1) |
3 |
=comunwrap(A2,3.14,2) |
A2 Unwrap A1 by column, with a jump threshold value of 3.14
A3 Unwrap A2 by row, with a jump threshold value of 3.14
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_SPL
SPL Learning Material 👉 https://c.scudata.com
SPL Source Code and Package 👉 https://github.com/SPLWare/esProc
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProc_SPL