Another bug in lsim is that you have to specify a time vector even though it
says you don't have to.
-- Function File: lsim (SYS, U)
-- Function File: lsim (SYS1, SYS2, ..., SYSN, U)
-- Function File: lsim (SYS1, 'STYLE1', ..., SYSN, 'STYLEN', U)
lsim(q,ones(101,1))
error: lsim: time vector 't' must not be empty
error: called from
lsim>__linear_simulation__ at line 245 column 7
lsim at line 145 column 10
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Thanks for this.
I started to fix it and run into a problem.
How do we decide on the total time to run the simulation?
@GoSim
If you don't specify a time vector what would you expect lsim to do?
DAS
![Certificate for 206392 Certificate for 206392]()