% Unit 2 (MATLAB Course @ UAM)
% (c) Alexander Knebe

function [r] = ang2rad(d)
% Convert angle in degrees to angle in radians
r = d*pi/180;
end