we have N spot which can be blank o filled calculate the number of iteration for these spots. e.g. N=2 1- blank blank 2- blank full 3- full blank 4- full full iteration is 4 e.g. N=3 1- blank blank blank 2- blank blank full 3- blank full blank 4- blank full full 5- full blank blank 6- full blank full 7- full full blank 8- full full full iteration is 8
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers56
Suggested Problems
-
5967 Solvers
-
705 Solvers
-
Find out value of sine given by degree.
353 Solvers
-
Matlab Basics II - Log and natural log
191 Solvers
-
6295 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
You could greatly simplify and shorten your description by using 0 and 1 instead of blank and full.
Thanks for the suggestion, but unless you have a binary mind, 0/1 , using this visualisation, blank/empty would make more sense