Repository navigation
MIMO Transfer Function #561
|
Let's say I have a MIMO system where the numerator is However, I get this error message: What am I missing? What triggers the TypeError? I've tried setting it up the same way in Matlab, which was successful, but I need it to work in Python as well. Thanks in advance! |
Replies: 3 comments
|
Nest them one more pair of [1]
[2]
-----------
[ 1 2 ]
[ 3 4 ]So you need Numv = [[[1], [2]]]
Denv = [[[1,2], [3,4]]] |
|
@ilayn beat me to it, but here is a bit more detail. As you have it written, the meaning is ambiguous: are you trying to create a 2-input, 1-output system or a 1-input, 2-output system? For 2-input, 1-output, use For 1-input, 2-output, use |
|
Thank you! I was trying to create a 2-input 1-output system. You solution worked like a charm! |
@ilayn beat me to it, but here is a bit more detail.
As you have it written, the meaning is ambiguous: are you trying to create a 2-input, 1-output system or a 1-input, 2-output system?
For 2-input, 1-output, use
For 1-input, 2-output, use