Home > freetb4matlab > sparse > spones.m

spones

PURPOSE ^

% Replace the non-zero entries of @var{x} with ones. This creates a

SYNOPSIS ^

function s = spones (s)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{y} =} spones (@var{x})
% Replace the non-zero entries of @var{x} with ones.  This creates a
% sparse matrix with the same structure as @var{x}.
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003