From help-request at octave dot org Thu Feb 3 21:35:15 2005 Subject: Re: unit sample sequence From: NZG To: help at octave dot org Date: Thu, 3 Feb 2005 21:38:21 -0600 nvmd, easy enough, just had to learn to write functions. function retval = u(t) retval=0; if (t >= 0) retval=1; endif endfunction well now it' s in the archive NZG. On Thursday 03 February 2005 09:21 pm, you wrote: > Is there an easy way to generate vector/matrix representing the unit > sample sequence in Octave? > > thx, > NZG. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------