[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem wit
From: |
Ahmed Salah Hammad Ahmed |
Subject: |
[Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command |
Date: |
Sat, 2 Mar 2024 09:55:44 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?65401>
Summary: [octave forge] (control) A problem with lsim command
Group: GNU Octave
Submitter: asalahhammad
Submitted: Sat 02 Mar 2024 02:55:43 PM UTC
Category: Octave Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: GNU/Linux
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 02 Mar 2024 02:55:43 PM UTC By: Ahmed Salah Hammad Ahmed
<asalahhammad>
I have a MIMO system, using state space representation I have 9 states, so A
is a 9x9 matrix, B is 9x3 matrix because I have 3 inputs..
If I set a time vector with n elements, going from 0 to T
The input signal u is 3xn matrix because as I said, I have 3 inputs
I just use the command:
sys = ss(A, B, C, D);
[Y, X] = lsim(sys, u, t, x0);
It says:
length of time vector (n) doesn't match input signal (3xn)
This is an incompatibility with matlab, but anyway, I made the time vector
(3xn), and this error occurs which I don't understand:
time vector 't' must be real-valued or empty
Note that the exact code at the beginning works perfectly on matlab
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65401>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command,
Ahmed Salah Hammad Ahmed <=
- [Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command, Nicholas Jankowski, 2024/03/02
- [Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command, Torsten Lilge, 2024/03/02
- [Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command, Ahmed Salah Hammad Ahmed, 2024/03/02
- [Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command, Ahmed Salah Hammad Ahmed, 2024/03/02
- [Octave-bug-tracker] [bug #65401] [octave forge] (control) A problem with lsim command, Torsten Lilge, 2024/03/02