Could anyone help me how to generate the round values like 1,2,3 in a cell array in a single step.
    1 view (last 30 days)
  
       Show older comments
    
could anyone help me how to generate these values in a 15x1 cell array in a single step as I used the command for each row to generate it.
Here, first five rows should contain 1
next five rows (6-10) can be 11,12, 21, but cannot be 2 like (22)
and next five rows (11-15) can be  123, 321, 112, 221 but cannot be (333, 113).
      [  1	
        1	
        1	
        1	
        1	
        1	1	
        1	2	
        2	1	
        2	1	
        1	2	
        1	2	2
        2	1	1
        1	3	2
        1	1	2
        2	2	1]
0 Comments
Answers (0)
See Also
Categories
				Find more on Logical in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!