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

1 reply · 3K views · last reply
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
 
We're not going to do your homework for you. Please show us your attempted solutions, and explain why you're stuck.

- Warren