help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

enhancing Bode functionality


From: Steven Pavao
Subject: enhancing Bode functionality
Date: Mon, 25 Nov 2002 12:19:43 -0800 (PST)

Hi,

I'm interested in improved bode functions for Octave,
so I'm doing a little work to try and get the
improvements I'm looking for.  Maybe some others have
also done some work, or would like to help me along in
my effort.

First, I've split the bode magnitude and phase
portions into two functions I'm calling bmag and
bphase.  This lets me get around a bug I was informed
of - one where plotting multiple curves on multiple
plots on a page does not work.  So now I can get
multiple curves onto either a magnitude or phase plot.
 Cool.  I'm really most interested in the magnitude in
general, though I would like to inspect the phase as
well.  Splitting them out just made sense for my
purposes, and for geting around the bug.

Now, I really want to plot the x axis in Hz, not
radians.  It's just the right thing for my my
purposes.  I have not done the work to do this.  I
wonder if the best approach is to just change what is
sent to gnuplot, although this may not suffice for the
feature I mention in the next paragraph...

The other annoyance is the auto-scaling of the axes. 
Many times when plotting, I want to compare multiple
curves, say, based on a varying coefficient(s).  So, I
don't want it to autoscale the axes in that case.  In
that case, I'd like to expose the axes "limits" to the
command line.  Of course, for the magnitude plot, I'd
like to specify these limits in dB and Hz.  If no
limits were specified, then autoscaling based on the
most recently plotted curve would be fine.

I would appeciate any tips or help.  I'm willing to do
some work and share my results.  I know this bode
functionality could be much more useful to my learning
process if I could just accomplish this small handful
of improvements, and others could probably benefit,
too.

best,
Steve Pavao


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]