Error: Vectors must be same length

2 views (last 30 days)
Aishwarya Bangalore Kumar
Aishwarya Bangalore Kumar on 22 Feb 2018
Commented: KSSV on 23 Feb 2018
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.

Answers (0)

Categories

Find more on Programming 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!