photo

Mikhail


Last seen: 2 months ago Active since 2024

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
297,928
of 300,851

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 21,094

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,294

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

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

2 years 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

2 years ago | 2 answers | 0

2

answers