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.
引用格式
Yonatan katz (2024). Quadrature encoder (https://www.mathworks.com/matlabcentral/fileexchange/73213-quadrature-encoder), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2019b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Linear Algebra 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!