% 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