diffangle(in1,in2)
Version 1.0.0.0 (1.24 KB) by
David Long
diffangle calculates the difference (in1-in2) between two sets of angles
diffangle calculates the difference (in1-in2) between two sets of angles (in degrees). The difference angle is defined to be the smaller of the two possible angles, with the appropriate sign. The result in the range (-180,180].
When only a single vector argument is supplied, diffangle acts like Matlab's diff to compute [in1(2)-in1(1) in1(3)-in1(1) ...]
Cite As
David Long (2026). diffangle(in1,in2) (https://au.mathworks.com/matlabcentral/fileexchange/65288-diffangle-in1-in2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Structural Mechanics >
Find more on Structural Mechanics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
