<html>
  <head>
    <meta content="text/html; charset=UTF-8"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      I just tried your code and it works for me. The plot did not crash
      Scilab. I had to change something - instead of using conv() I ised
      convol(). Previously I had to increase the stack size with
      stacksize('max'). One more thing, trapz() should be changed to
      inttrap()<br>
      <br>
      I do not know if this is correct - just tried to see if this would
      work. (Scilab 5.5.0)<br>
      <br>
      Regards,<br>
      Radovan<br>
      <br>
      On 5/24/2014 10:03 PM, Claus Futtrup wrote:<br>
    </div>
    <blockquote cite="mid:5380FB04.50103@gmail.com" type="cite">Hi there
      <br>
      <br>
      A colleague of mine cannot write Scilab code yet, so he writes in
      Matlab and I convert. So far I've run into a couple of issues that
      I don't know what to make of. Please help us. The .sce script file
      is attached.
      <br>
      <br>
      1) The "plot" which is commented out on line 41 crashes Scilab. I
      wonder why - is it because I'm plotting 24000 data points?
      <br>
      <br>
      2) At the end of the script (line 111) I get a memory allocation
      error with "conv" ... please help on this one.
      <br>
      <br>
      P.S. My colleague is trying to generate IEC 268-1 noise ... later
      to compress it and make IEC 268-5 (EN 60268-5) test signal for
      power testing loudspeakers.
      <br>
      <br>
      /Claus
      <br>
      <br>
      <br>
      ---
      <br>
      This email is free from viruses and malware because avast!
      Antivirus protection is active.
      <br>
      <a class="moz-txt-link-freetext" href="http://www.avast.com">http://www.avast.com</a>
      <br>
      <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>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                Ova e-pošta je nema virusa i zlonamjernih programa jer <a href="http://www.avast.com/">avast! Antivirus</a> zaštita je aktivna.
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>