Solve error : Index in position 2 exceeds array bounds. Index must not exceed 15.

1 次查看(过去 30 天)
a=2;
m=5;
n=15;
%ADM is matrix of size 5by15
for i=1:m
for k=1:3
B(i,k)=0;
for j=1:n/3
B(i,k)=ADM(i,3*j-a)+B(i,k);
end
a=a-1;
end
end

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by