Create a user-defined Matlab function checkerboard(n) that will output an n x n matrix of alternating zeros and ones, starting with a zero in the first cell. Your function should work on any positive integer n >>checkerboard (5) ans – 1 0 0 1 0 1 0 1 0 1 0 0 1 Show transcribed image text Create a user-defined Matlab function checkerboard(n) that will output an n x n matrix of alternating zeros and ones, starting
OR
OR