photo

Mikhail


Last seen: environ un mois il y a Actif depuis 2024

Followers: 0   Following: 0

Statistiques

  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


Why does it skips the if part?
Dear colleagues, Need some help with the if statement. It appears that for some reason, Matlab ignores the if statment as if it...

3 mois il y a | 1 réponse | 0

1

réponse

Question


How can I fix "Index in position 2 exceeds array bounds" in for loop?
p=1;c=[1 0 4 8];n=4;b=[];j=1; b=a(1,1) a=flip(c) for i=n-1:-1:1 b(1,i)=b(1,i+1)*p+a(1,i); end b

4 mois il y a | 2 réponses | 0

2

réponses