Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.octave > #88
| Newsgroups | comp.soft-sys.octave |
|---|---|
| Date | 2016-07-23 18:09 -0700 |
| References | <d13dc0e2-5fd8-4d9a-8839-ae8194ce51ba@m15g2000vbh.googlegroups.com> |
| Message-ID | <125d5a62-e6f6-4cd9-a70e-9f9b81ad755c@googlegroups.com> (permalink) |
| Subject | Re: Bode Diagramm |
| From | cliff <sueandcliffcurry@gmail.com> |
On Thursday, May 3, 2012 at 1:46:30 AM UTC-5, Wilhem wrote:
> Hi to eveyrybody,
> I m using the latest octave und the package
> Control for my University Project but I m not able to display the bode
> diagramm on a logarithmic (X) axis. Even semilogx doesn t help.
>
> Do you konw how to visualize bodes diagramms in the right way?
> Thank you very much.
>
> Regards
> Dave
Hello Dave: do this
n=[1,0,4];
d=[ 4.0000 14.5245 27.3703 33.2917 27.3703 14.5245 4.0000];
f=logspace(-3,1,300);
w=2*pi*f;
s=sqrt(-1)*w;
close all
semilogx(f,20*log10(abs(polyval(n,s) ./ polyval(d,s)))); grid on; xlabel('Hz'); ylabel('db'); title('Bode plot');
Back to comp.soft-sys.octave | Previous | Next — Previous in thread | Find similar
Bode Diagramm Wilhem <paveway@gmail.com> - 2012-05-02 23:46 -0700 Re: Bode Diagramm Marcio Barbalho <marciobarbalho@live.com> - 2013-02-04 10:02 -0800 Re: Bode Diagramm cliff <sueandcliffcurry@gmail.com> - 2016-07-23 18:09 -0700
csiph-web