i am writing a code that contains a vector which its dimension is 10001 and its value is changing with time. i want to design lqr controller but it gives me error because the dimensions are wrong.please inform how can i solve this problem. thanks

1 view (last 30 days)
i am writing a code that contains a vector which its dimension is 10001 and its value is changing with time. i want to design lqr controller but it gives me error because the dimensions are wrong.please inform how can i solve this problem. thanks

Answers (1)

Image Analyst
Image Analyst on 5 Feb 2016
I'd do what everyone else does, and that is to use the debugger: http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/
If you still can't solve it after that, then read this

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!