need help to find an octave crash

Ben Abbott bpabbott at mac.com
Mon Dec 24 19:01:04 CST 2007


On Dec 25, 2007, at 4:57 AM, Doug Stewart wrote:

> I am running qtoctave on windows XP with octave 2.9.15
>
> Would someone try this script and see if the new ver. of octave  
> crashes
> or not.
>
> My system has a seg fault
>
> n=poly([ -11 -10 ])*10000
>
> d=poly([ -2-3j -2+3j -2.1-3j -2.1+3j -3-3j -3+3j -3-3j -3+3j -5.5 -5  
> -5
> -1 ])
>
> sys=tf(n,d)
>
> sysout(sys)
>
> step(sys,1,3,100)
>
> Doug

No seg-fault for Octave 3.0 running Leopard on Intel. The final output  
to the console was

Input(s)
       1: u_1

Output(s):
      1: y_1

transfer function form:
10000*s^2 + 210000*s^1 + 1.1e+06
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1*s^12 + 36.7*s^11 + (642.41 + 7.1054e-15i)*s^10 + (7104.3 +  
1.7408e-13i)*s^9 + (55257 + 1.6165e-12i)*s^8 + (3.1819e+05 +  
6.0645e-12i)*s^7 + (1.3899e+06 + 1.5277e-13i)*s^6 + (4.6356e+06 -  
4.9027e-11i)*s^5 + (1.1701e+07 - 2.4102e-11i)*s^4 + (2.1745e+07 +  
2.7057e-10i)*s^3 + (2.8077e+07 + 2.5011e-10i)*s^2 + 2.2285e+07*s^1 +  
7.7664e+06

Ben

p.s. got a nice plot too!



More information about the Help-octave mailing list