Info

This question is closed. Reopen it to edit or answer.

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 view (last 30 days)
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

Answers (0)

Community Treasure Hunt

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

Start Hunting!