circular diff

Versione 1.1.0.0 (1,49 KB) da Petorr
diff with wrap-around differences, same sized output matrix
317 download
Aggiornato 19 dic 2013

Visualizza la licenza

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.

Cita come

Petorr (2025). circular diff (https://it.mathworks.com/matlabcentral/fileexchange/44701-circular-diff), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Geometric Transformation and Image Registration in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: center_finite_diff.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
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