| MATLAB C++ Math Library | Search  Help Desk |
| spones | See Also |
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