Defining binary number as input

Dear friends
There is a problem. i have an hyuristic optimization algorithm. i have to determine input dimention and its max and min.
a possible state can be
[0 1 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0]
or
[0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 0 0]
or....
there are four swing '1's in this vector and total possible state is equal 10626 (cobination 4 of 24). how i define number and its dimention.
Best Regards

답변 (0개)

이 질문은 마감되었습니다.

태그

질문:

2018년 12월 6일

마감:

2018년 12월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by