photo

polycarp onyebuchi


Last seen: 2 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Question


Index in position 1 is invalid. Array indices must be positive integers or logical values. Error in pid_optimized1 (line 17) solution(K,:) = [K a m ts];
Hi all I am trying to run this code but I am getting an error 'Index in position 1 is invalid. Array indices must be positive i...

5 years ago | 3 answers | 0

3

answers

Question


Index exceeds array bounds. Error in PID_optimized (line 14) gc = tf(K(i)*([1 2*a(j) a(j)^2]),[1 0]); %controller transfer fx Gc
Hi all Trying to run this code. I am getting an error message 'index exceeds array bounds. Error in PID_optimized (line 14). Th...

5 years ago | 1 answer | 0

1

answer