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**

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

Loading...

Similar Threads for Matlab programming problem |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB How to program this in Matlab |

MATLAB Does anyone had this plotting problem with MATLAB? |

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