Community Profile

photo

polycarp onyebuchi


Last seen: oltre un anno fa Attivo dal 2019

Statistiche

  • Thankful Level 2
  • First Review
  • Thankful Level 1

Visualizza badge

Content Feed

Visto da

Domanda


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...

quasi 5 anni fa | 3 risposte | 0

3

risposte

Domanda


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...

quasi 5 anni fa | 1 risposta | 0

1

risposta