center_finite_diff.​m

Center Finite Difference Gradient

You are now following this Submission

Center Finite Difference Gradient for a vector or a matrix
The script have the cyclic boundary in consideration, which is often encountered in global analysis of field in earth science.

Cite As

Sen ZHAO (2026). center_finite_diff.m (https://uk.mathworks.com/matlabcentral/fileexchange/46753-center_finite_diff-m), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: circular diff

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

add test of zonal wind

1.1.0.0

add institution

1.0.0.0