How to clear this error?

1 view (last 30 days)
Attempted to access c(2,4); index out of bounds because size(c)=[20,3].
Error in fincode
(line 194) st=double(floor(c(2,y)*10^13));

Accepted Answer

Image Analyst
Image Analyst on 8 Feb 2018
Do not let y have a value greater than 3 because you do not have any more than 3 columns. Why are you trying to access column 4 when there is no column 4?

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!