Skip to main content
added 486 characters in body
Source Link
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372

MATL, 21 20 1919 18 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

The input is a binary matrix (using ; as row separator).

The output is either a row vector with all entries eqwual to 1 (which is truthy), or a row vector with at least one entry eqwual to 0 (which is falsy). The footer contains the truthiness/falsihood test.

O4LZ(Gz:"2Y6Z+G*]aA"2Y6Z+G*]a

Try it online!Try it online! Or verify all test casesverify all test cases.

MATL, 21 20 19 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

O4LZ(Gz:"2Y6Z+G*]aA

Try it online! Or verify all test cases.

MATL, 21 20 19 18 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

The input is a binary matrix (using ; as row separator).

The output is either a row vector with all entries eqwual to 1 (which is truthy), or a row vector with at least one entry eqwual to 0 (which is falsy). The footer contains the truthiness/falsihood test.

O4LZ(Gz:"2Y6Z+G*]a

Try it online! Or verify all test cases.

added 6 characters in body
Source Link
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372

MATL, 21 2020 19 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

O4LZ(Gz:"2Y6Z+G*]XaA"2Y6Z+G*]aA

Try it online!Try it online! Or verify all test casesverify all test cases.

MATL, 21 20 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

O4LZ(Gz:"2Y6Z+G*]XaA

Try it online! Or verify all test cases.

MATL, 21 20 19 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

O4LZ(Gz:"2Y6Z+G*]aA

Try it online! Or verify all test cases.

added 34 characters in body
Source Link
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372

MATL, 2121 20 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

O4LZ(Gz:"2Y6Z+G*]JZ)a"2Y6Z+G*]XaA

Try it online!Try it online! Or verify all test casesverify all test cases.

MATL, 21 bytes

Translation of @elementiro's MATLAB/Octave answer.

O4LZ(Gz:"2Y6Z+G*]JZ)a

Try it online! Or verify all test cases.

MATL, 21 20 bytes

Translation of @elementiro's MATLAB/Octave answer, with small modifications.

O4LZ(Gz:"2Y6Z+G*]XaA

Try it online! Or verify all test cases.

deleted 16 characters in body
Source Link
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372
Loading
Source Link
Luis Mendo
  • 105.3k
  • 9
  • 135
  • 372
Loading