How to generalize code with many cases (Matlab)
1 view (last 30 days)
I have this Matlab code
for ess=1:n % 'n' is the number of cases (here n=4)
Here I have just 4 cases. The first case stay as it is and the other cases will take 20 bits of VV each time. So if I have many cases more than 100 for example. How can I generalize this part of program in order to work with any number of cases.