EASY QUESTION ABOUT THE lsqlin COMMAND: Is it possible to use the lsqlin algorithm for MIMO systems (always with linear constraints)?
Show older comments
I have seen that lsqlin is usually used for SISO systems, but is it possible to use it also with MIMO systems always having linear constraints?
2 Comments
I'm not sure what you mean by SISO (single input single output) and MIMO (multiple input multiple output) systems in this context.
lsqlin finds the "best" solution to the equation Cx =d subject to linear constraints on the variable x. Are the elements of x each an "input" if so then there are certainly multiple inputs. Are the elements of the result Cx considered "output" if so there are multiple outputs. So would you consider this to be MIMO?
Accepted Answer
More Answers (1)
Bruno Luong
on 18 Nov 2022
Edited: Bruno Luong
on 18 Nov 2022
0 votes
As long as you have a linear least-squares model, linear equality and inequality constraints then yes you can use lsqlin, as clearly stated by the doc page.
Categories
Find more on Linear Least Squares in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!