Quadrature encoder

Function encoder - encodes the movements of quadrature encoder (HEDR-5420-ES214) and return a vector containing the direction of movements.
135 Downloads
Updated 3 Nov 2019

View License

Function encoder - encodes the movements of quadrature encoder (HEDR-5420-ES214) and return
a vector containing the direction of movements.
Input : 2 vectors - a and b, which are the direct output of the quadrature
encoder and have the same size.
Output : Ternary vector same size as input vectors. 0 - no movement. 1-forward. -1 backward.

Cite As

Yonatan katz (2026). Quadrature encoder (https://www.mathworks.com/matlabcentral/fileexchange/73213-quadrature-encoder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.1

New

1.0.0