circular diff

バージョン 1.1.0.0 (1.49 KB) 作成者: Petorr
diff with wrap-around differences, same sized output matrix
ダウンロード: 311
更新 2013/12/19

ライセンスの表示

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.

引用

Petorr (2024). circular diff (https://www.mathworks.com/matlabcentral/fileexchange/44701-circular-diff), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersGeometric Transformation and Image Registration についてさらに検索
謝辞

ヒントを与えたファイル: center_finite_diff.m

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
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