[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parameterized gset
From: |
JARED ANDERSON |
Subject: |
Parameterized gset |
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
-----------------------------------------------------------------------
- Parameterized gset,
JARED ANDERSON <=