[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: impulse() giving error
From: |
Huub |
Subject: |
Re: impulse() giving error |
Date: |
Sat, 03 Apr 2010 13:59:02 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Let me guess: You are using Octave.app with g95 on MacOSX 10.6.
MaxOSC 10.5 actually.
These warnings are due to an outdated version of the g95 Fortran compiler
included with Octave.app. You can safely ignore them. The package should
install correctly anyway. Note that installation may take up to several minutes
(for compiling the Fortran files). You can verify installation afterwards by
running some tests: try some of these
test ltimodels
test h2syn
test hinfsyn
test lyap
test care
...
Yup, did well:
octave-3.2.3:6> test ltimodels
PASSES 19 out of 19 tests
octave-3.2.3:7> test h2syn
PASSES 2 out of 2 tests
octave-3.2.3:8> test hinfsyn
PASSES 2 out of 2 tests
octave-3.2.3:9> test lyap
PASSES 3 out of 3 tests
octave-3.2.3:10> test care
PASSES 6 out of 6 tests
and:
octave-3.2.3:11> H=tf([2 1],[4 3])
Transfer function "H" from input "u1" to output ...
2 s + 1
y1: -------
4 s + 3
impulse(H) gives a nice graph now.
step(H) goes wrong now, though:
octave-3.2.3:13> step(H)
error: A(I): Index exceeds matrix dimension.
error: called from:
error:
/Applications/Octave.app/Contents/Resources/share/octave/3.2.3/m/plot/stairs.m
at line 131, column 8
error:
/Applications/Octave.app/Contents/Resources/share/octave/3.2.3/m/plot/stairs.m
at line 72, column 2
error: /Users/huub/octave/control-0.3.0/__timeresp__.m at line 180,
column 13
error: /Users/huub/octave/control-0.3.0/step.m at line 36, column 14
With control-1.0.11, it gave a good response.
- impulse() giving error, Huub, 2010/04/02
- Re: impulse() giving error, Huub, 2010/04/02
- Re: impulse() giving error, Doug Stewart, 2010/04/02
- Re: impulse() giving error, Lukas Reichlin, 2010/04/02
- Re: impulse() giving error, Huub, 2010/04/03
- Re: impulse() giving error, Lukas Reichlin, 2010/04/03
- Re: impulse() giving error, Huub, 2010/04/03
- Re: impulse() giving error, Lukas Reichlin, 2010/04/03
- Re: impulse() giving error,
Huub <=
- Re: impulse() giving error, Lukas Reichlin, 2010/04/03
- Re: impulse() giving error, Huub, 2010/04/03