.. highlightlang:: us .. index:: smooth2 .. _smooth2: smooth2 ======= .. us.tag smooth2 NOTREADYENGLISH interpol-2d New5200 :ref:`smooth2` is a function to smooth a matrix using the Savitzky-Golay algorthim. .. function:: rmZSmooth = smooth2(rmZ, smoothFactor) .. us.return **Return Value** *rmZSmooth* is the smoothed matrix. .. us.params **Parameters** .. uparam:: rmZ *rmZ* is a real matrix. .. uparam:: smoothFactor *smoothFactor* is a value in the range 1 (low smoothing) to 5 (high smoothing). .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.20 - New .. seealso:: :ref:`overview-mathematic`, :ref:`sgolayfilt` :sub:`id-1772855`