I need to design a matrix of running variables (m x n) that displays an array of ones and zeros in the following order;(adsbygoogle = window.adsbygoogle || []).push({});

1 0 1 0

1 0 1 0

1 0 1 0

1 0 1 0

and

1 0 1 0

0 1 0 1

1 0 1 0

0 1 0 1

So the values of m and n can be any value.

Any suggestions?

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab programming problem

**Physics Forums | Science Articles, Homework Help, Discussion**