smooth2

Smooths the data in a 2D matrix with a user-defined resolution.

Vous suivez désormais cette soumission

SMOOTH2.M: Smooths matrix data.

MATRIXOUT=SMOOTH2(MATRIXIN,Nr,Nc) smooths the data in MATRIXIN using a running mean over 2*N+1 successive points, N points on each side of the current point. At the ends of the series skewed or one-sided means are used.

Inputs: matrixIn - original matrix
Nr - number of points used to smooth rows
Nc - number of points to smooth columns
Outputs: matrixOut - smoothed version of original matrix

Remark: By default, if Nc is omitted, Nc = Nr.

Citation pour cette source

Kelly Hilands (2026). smooth2 (https://fr.mathworks.com/matlabcentral/fileexchange/6298-smooth2), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

A inspiré : smoothc.mat, smooth2a

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0