www.gusucode.com > robotics 案例源码程序 matlab代码 > robotics/CalculateAngleDifferencesofAdjacentElementsExample.m

    %% Calculate Angle Differences of Adjacent Elements  

% Copyright 2015 The MathWorks, Inc.


%%  
angles = [pi pi/2 pi/4 pi/2];
d = angdiff(angles)