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));

 采纳的回答

Image Analyst
Image Analyst 2018-2-8

0 个投票

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?

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by