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 Fri 22-May-2009 15:13:00 by m2html © 2003