I sill haven't solved it. I have tested the code with the "whos" function but when running the code, all the variables sizes remain the same, so the code seems to be OK not having some variables which size increases. Any ideas?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!