| C++ Math Library Reference | ![]() |
Replace nonzero sparse matrix elements with ones
C++ Prototype
mwArray spones(const mwArray &S);
C++ Syntax
#include "matlab.hpp" mwArray S; // Input argument(s) mwArray R; // Return value R = spones(S);
MATLAB Syntax
R = spones(S)
See Also
spones Calling Conventions | spline | spparms, Vspparms | ![]() |