octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem wit


From: Torsten Lilge
Subject: [Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command
Date: Sat, 2 Mar 2024 10:39:24 -0500 (EST)

Follow-up Comment #2, bug #65401 (group octave):

Thanks for the report. For me (control package 4.0.0) the simulation with

t = 0:0.01:10;
u = rand (length (t), 3);

works. When using the transposed array for u, I also see the error

error: lsim: length of time vector (1001) doesn't match input signal (3x1001)

The documentation for lsim (also on Matlab) says that u must have length(t)
rows and as many columns as there are inputs. It looks like Matlab is just
more "tolerant" regarding the shape of u. I can add this "robustness" to
Octave's control package, too. 

For the other error message, it would be helpful if you post the complete code
as suggested by Nicholas in comment #2.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65401>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]