%% Determine modulus of quaternion
% This example shows how to determine the modulus of q = [1 0 0 0].

mod = quatmod([1 0 0 0])

% Copyright 2012 The MathWorks, Inc.