Quaternion Function Reference

arrayfun

Apply a function to each element of an array
(Quaternion and octonion overloadings of standard MATLAB® function)

Syntax

Y = arrayfun(f, X)

Description

Only one calling syntax is at present implemented (as above). The function handle f identifies a function which must work with a single quaternion or octonion parameter and return a single quaternion or octonion result. This function is appled to every element of X to yield the corresponding element of the result Y which will have the same size as X.

See Also

MATLAB® function: arrayfun

© 2008-2022 Stephen J. Sangwine and Nicolas Le Bihan

License terms.