circular diff
Version 1.1.0.0 (1,49 ko) par
Petorr
diff with wrap-around differences, same sized output matrix
difc is a wrapper for matlab's diff() and takes the same arguments.
The returned matrix size is the same as the input matrix size, like matlab's gradient().
Higher N works using recursion.
Zero N returns the input matrix.
Citation pour cette source
Petorr (2026). circular diff (https://fr.mathworks.com/matlabcentral/fileexchange/44701-circular-diff), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
En savoir plus sur Geometric Transformation and Image Registration dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : center_finite_diff.m
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Previous version had faulty automatic dimension assignment when the function is called with a single argument. It has been updated to match diff() defaults for vector, matrix and N-dim arrays. |
||
| 1.0.0.0 |
