<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 25/02/2017 à 19:17, Pablo Fonovich a
      écrit :<br>
    </div>
    <blockquote
cite="mid:SN1PR10MB0383BAE6ABD85478C3EC0350EE550@SN1PR10MB0383.namprd10.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p>Hi:</p>
        <p>This is the first time i work with discrete time transfers
          functions and Scilab.</p>
        <p>I want to use bode() for plotting the magnitud and phase
          response of the system, however, i don't understand how to set
          the frequencies to normalized values (-pi, pi).</p>
        <p>This is what i'm doing:</p>
        <p><br>
        </p>
        <div>s=poly(0,'s')<br>
          H=(s^(-2400))/(1-0.5*s^(-2400))<br>
          S=syslin('d',H)<br>
          bode(S)</div>
        <p><br>
        </p>
        <p>i get a warning that frequencies beyond nyquist rate are
          ignored and the resulting plot is attached.</p>
        <p><img tabindex="0" aria-expanded="false"
            crossorigin="anonymous" id="img472992" style="max-width:
            99.9%;" contenttype="image/png" size="0"
            src="cid:part1.AF505552.9295B9D5@inria.fr"><br>
        </p>
        <p>In the help, it says that bode parameter could include fmin
          and fmax in herz, but isn't a discrete system response limited
          to normalized frequencies? And to transform the normalized
          frecuency to herz the sample rate must be used, but i don't
          know how to pass it to the system or something.</p>
      </div>
    </blockquote>
    S=syslin(dt,H) defines a dynamical system sampled. dt beeing the
    sampling period in second.<br>
    If you want the frequency uniis be in rd/s add "rad" as last input
    argument<br>
    <blockquote
cite="mid:SN1PR10MB0383BAE6ABD85478C3EC0350EE550@SN1PR10MB0383.namprd10.prod.outlook.com"
      type="cite">
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p>Any hints would be appreciated.</p>
        <p>Thanks<br>
        </p>
      </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>
    <p><br>
    </p>
  </body>
</html>