<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Hi,<br>
<br>
If it is any help, I broke down bode.sci's code to the job it really
does.<br>
<br>
Example1.sce then comes down to (for the magnitude):<br>
clear;<br>
clc;<br>
s = poly(0, "s");<br>
N = 1;<br>
D = (s+1);<br>
TF = syslin("c", N/D);<br>
// bode(TF)<br>
[frq, repf] = repfreq(TF, 1d-3, 1d3);<br>
[phi, d] = phasemag(repf);<br>
plot2d("ln" ,frq, d)<br>
f=gca(); f.grid = color("lightgrey")*ones(1, 3);<br>
<br>
You can indeed see that the computed magnitude does not match the
theoretical one.<br>
<br>
The first example on <a
href="http://lpsa.swarthmore.edu/Bode/BodeExamples.html">this</a>
page also shows a gap ( s = poly(0, "s"); bode(syslin("c",
100/(s+30))); )<br>
<br>
<div class="moz-cite-prefix">On 12/13/2013 03:04 AM, Vijay Gopal
wrote:<br>
</div>
<blockquote
cite="mid:CAH2+ZLKaQyAooZR1G15NdMcKmyv1z75T416w4RTWxTREeaic5A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,</div>
<div> </div>
<div>I am a scilab user and I find it amazing about its
capabilities. Recently I have encountered a problem for BODE
PLOT for Linear Systems in continuous domain in scilab. I have
made a report on it and attached herewith in pdf format. I
hope this email will be beneficial for mutual progress. Also
there are two files attached herewith<br clear="all">
</div>
<div>Regards<br>
-- <br>
Vijay Gopal
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Paul BIGNIER
Scilab Engineer & Xcos Developer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.69
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a> </pre>
</body>
</html>