I don't understand, can you explain the second rule?
all combinations of x & y of length n
1. they must appear n/2 times each
2. no initial segment of the string has more y's than x's
so, 'yyxyxx' -- the 2nd rule is broken here. since 1st appearance of x contains only one x while y [the second element] contains 2.
count (1stelement) >= count (2nd element) >= count (3rd element) ..
Hope this makes it clear
@Asif, thank you! I see.
Remove the polynomials that have positive real elements of their roots.
635 Solvers
Maintain shape of logical-index mask
63 Solvers
50 Solvers
249 Solvers
Create a matrix X, where each column is a shifted copy of the vector v
146 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!