%% Calculate Spacing of Helix with Varying Pitch and Radius
% Calculate spacing for helix with pitch varying from 12 degrees to 14 degrees in steps of 0.5 and radius varying from 20mm to 22mm in steps of 0.5.

s = helixpitch2spacing(12:0.5:14,20e-3:0.5e-3:22e-3)

% Copyright 2015 The MathWorks, Inc.