Designing a Matrix of Running Variables: Solving a Matlab Programming Problem

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 3K views
RobertLeo
Messages
1
Reaction score
0
I need to design a matrix of running variables (m x n) that displays an array of ones and zeros in the following order;

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 news on Phys.org
We're not going to do your homework for you. Please show us your attempted solutions, and explain why you're stuck.

- Warren