Error: Vectors must be same length

6 次查看(过去 30 天)
if true
% code
end
This is my code to find cost and state of an equation and I have to define u as 0.1 foe 1st half and -0.1 for 2nd half of time interval. When i plot i get the error, vectors must be of same length. please help.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by