photo

Mikhail


Last seen: 3 månader ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

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

8 månader ago | 1 answer | 0

1

answer

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

8 månader ago | 2 answers | 0

2

answers