Info

此问题已关闭。 请重新打开它进行编辑或回答。

I have this code and when run it's telling me that the index exceeds the matrix dimensions. Im in the process of teaching myself matlab. Can anyone help please?

1 次查看(过去 30 天)
for n=1:42;
for n=1;
l=1:52;
for n=[2 3 4 5 6 9];
l=1:16;
for n=[7:8,10:41];
l=1:17;
for n=42;
l=1:53;
str{n(l, 1), 1}<=x_te(n, 1);
str{n(l, 1), 1}>=x_le(n, 1);
s{n(n, 1), 1}=str{n(n, 1), 1};
size(s{n(n, 1), 1});
end
end
end
end
end

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by