User Tools

Site Tools


implementation_unwrap_modulo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
implementation_unwrap_modulo [2018/09/19 16:45]
supergnu
implementation_unwrap_modulo [2018/09/19 17:11]
supergnu old revision restored (2018/09/19 14:52)
Line 1: Line 1:
-====== C implementation of a modulo function ======+====== C implementation of the Octave/Matlab unwrap function ======
  
 +The unwrap function in Octave/Matlab is simplifying the modulo of an arrray.
 It's an easy piece of code but handy to have it around off the shelf: It's an easy piece of code but handy to have it around off the shelf:
-<code C modulo.c> +<code C unwrap.c> 
-int modulo(int *values, int numberOfValues, int modulo)+int unwrap(int *values, int numberOfValues, int modulo)
 { {
     for (int i = 0; i < numberOfValues; i++)     for (int i = 0; i < numberOfValues; i++)
implementation_unwrap_modulo.txt · Last modified: 2018/09/19 17:11 by supergnu