lowest common multiple (lcm) of more than two binary polynomials in matlab

3 views (last 30 days)
hello consider the binary array:
A =
1 0 0
0 1 0
0 0 1
1 0 1
1 1 1
1 1 0
0 1 1
1 0 0
I want to take the lcm of all odd rows of this array upto 2x where x = 3. which means i need to take the lcm for the 1st, 3rd and 5th rows.
But i need a generic code that can apply to ny x and A as both may be different. (whatever A and x i give, the lcm for odd rows of A upto 2x should be obtained.

Answers (0)

Categories

Find more on Polynomials 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!