From help-octave-request at bevo dot che dot wisc dot edu Mon Aug 28 00:58:24 2000 Subject: Parameterized gset From: JARED ANDERSON To: help-octave at bevo dot che dot wisc dot edu Date: Mon, 28 Aug 2000 14:43:58 +1000 (GMT+1000) Hi all, I am having trouble with the gset command when plotting. I am attempting the following: %Find the filter length.... Nf = ceil((A - 8) / (2.285 * delw)) beta = 0.1102 * (A - 8.7) %construct a kaiser window window = kaiser(Nf, beta)'; gset xrange [0: Nf ]; And get the following response: Nf = 352 beta = 4.5513 line 0: undefined variable: Nf It works fine if instead of Nf in the gset I use 352, however I would like to be able to use variables in my gset, is this possible? thanks J ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------