<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Bonjour,<br>
      <br>
      Le 10/12/2018 à 14:10, VUILLAUME Philippe (SNCF MOBILITES / AGENCE
      D'ESSAI FERROVIAIRE / POLE AEF E) a écrit :<br>
    </div>
    <blockquote
cite="mid:AM0PR04MB4675F1E777084458C6B83DDC91A50@AM0PR04MB4675.eurprd04.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Courier;
        panose-1:2 6 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Courier;
        panose-1:2 6 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Monospaced;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Courier New";
        mso-fareast-language:FR;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Bonjour,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">J’ai un problème de construction de filtre
          avec la fonction iir.<o:p></o:p></p>
        <p class="MsoNormal">Voici mon code :<o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Monospaced","serif";color:black;mso-fareast-language:FR">Fe</span><span
style="font-size:9.0pt;font-family:"Monospaced","serif";mso-fareast-language:FR">
            <span style="color:#5C5C5C">=</span> <span
              style="color:rosybrown">2000</span><span
              style="color:black">;</span><o:p></o:p></span></p>
        <p class="MsoNormal"><i><span
style="font-size:9.0pt;font-family:Courier;color:#64AE64;mso-fareast-language:FR">//paramètres
              du filtre Butterworth</span></i><span
            style="font-size:9.0pt;font-family:Courier;mso-fareast-language:FR"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Courier;color:black;mso-fareast-language:FR">n</span><span
style="font-size:9.0pt;font-family:Courier;mso-fareast-language:FR">
            <span style="color:#5C5C5C">=</span> <span
              style="color:black">eval</span><span style="color:#4A55DB">(</span><span
              style="color:#32B9B9">x_dialog</span><span
              style="color:#4A55DB">(</span><span
              style="color:rosybrown">'Ordre du filtre Butterworth'</span><span
              style="color:black">,</span><span style="color:rosybrown">'6'</span><span
              style="color:#4A55DB">))</span><span style="color:black">;</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Courier;color:black;mso-fareast-language:FR">fcut</span><span
style="font-size:9.0pt;font-family:Courier;mso-fareast-language:FR">
            <span style="color:#5C5C5C">=</span> <span
              style="color:black">eval</span><span style="color:#4A55DB">(</span><span
              style="color:#32B9B9">x_dialog</span><span
              style="color:#4A55DB">(</span><span
              style="color:rosybrown">'Fréquence de coupure en Hz'</span><span
              style="color:black">,</span><span style="color:rosybrown">'200'</span><span
              style="color:#4A55DB">))</span><span style="color:black">;</span><o:p></o:p></span></p>
        <p class="MsoNormal"><i><span
style="font-size:9.0pt;font-family:Courier;color:#64AE64;mso-fareast-language:FR">//fonction
              de transfert</span></i><span
            style="font-size:9.0pt;font-family:Courier;mso-fareast-language:FR"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Courier;color:black;mso-fareast-language:FR">hb</span><span
style="font-size:9.0pt;font-family:Courier;mso-fareast-language:FR">
            <span style="color:#5C5C5C">=</span> <span
              style="color:black">iir</span><span style="color:#4A55DB">(</span><span
              style="color:black">n,</span><span style="color:rosybrown">'lp'</span><span
              style="color:black">,</span><span style="color:rosybrown">'butt'</span><span
              style="color:black">,</span><span style="color:#4A55DB">(</span><span
              style="color:black">fcut</span><span style="color:#5C5C5C">/</span><span
              style="color:black">Fe</span><span style="color:#4A55DB">)</span><span
              style="color:black">,</span><span style="color:#4A55DB">[])</span><span
              style="color:black">;</span><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Lorsque je lance chaque ligne séparément
          dans la console tout fonctionne mais lorsque je lance ce code
          depuis SciNotes, Scilab plante dans le calcul de hb avec ce
          message :<o:p></o:p></p>
        <p class="MsoNormal">« Scilab 6.0.0 (GUI) a cessé de fonctionner<o:p></o:p></p>
        <p class="MsoNormal">Un problème est à l’origine du
          dysfonctionnement du programme.<o:p></o:p></p>
        <p class="MsoNormal">Fermez le programme. »<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Scilab 6.0.0 sous Windows 10</p>
      </div>
    </blockquote>
    <br>
    Ce problème de stabilité n'est pas (du tout) lié à iir().<br>
    C'est un problème plus général de Scilab 6.0.<br>
    <br>
    <blockquote
cite="mid:AM0PR04MB4675F1E777084458C6B83DDC91A50@AM0PR04MB4675.eurprd04.prod.outlook.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Avez-vous une idée de ce qui ne va pas ?</p>
      </div>
    </blockquote>
    <br>
    Je suspecte très fortement NewsFeed d'être à l'origine de cette
    instabilité.<br>
    Malheureusement, ce n'est pas un composant pour lequel
    l'installation est optionnelle.<br>
    C'est un très gros problème...<br>
    <br>
    Samuel<br>
    <br>
  </body>
</html>