%% Remainder After Division of Scalar
% Compute the remainder after dividing 5 into 23.

a = 23;
b = 5;
r = rem(a,b)

% Copyright 2012 The MathWorks, Inc.