Hello,

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()

I do not know if this is correct - just tried to see if this would work.
(Scilab 5.5.0)

Regards,
Radovan

On 5/24/2014 10:03 PM, Claus Futtrup wrote:
Hi there

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.

1) The "plot" which is commented out on line 41 crashes Scilab. I
wonder why - is it because I'm plotting 24000 data points?

2) At the end of the script (line 111) I get a memory allocation error
with "conv" ... please help on this one.

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.

/Claus


---
This email is free from viruses and malware because avast! Antivirus
protection is active.
http://www.avast.com


_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users



---
U ovoj e-pošti nema virusa i zlonamjernih programa jer je aktivna avast! 
antivirusna zaštita.
http://www.avast.com
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to