C Math Library Reference | ![]() ![]() |
Apply function to nonzero sparse matrix elements
C Prototype
mxArray *mlfSpfun(mxArray *function, mxArray *s);
C Syntax
#include "matlab.h" mxArray *S; /* Required input argument(s) */ mxArray *f = NULL; /* Return value */ mlfAssign(&f, mlfSpfun(mxCreateString("function
"),
S));
MATLAB Syntax
f = spfun('function
',
S)
See Also
spfun
Calling Conventions![]() | mlfSpeye | mlfSph2cart | ![]() |