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

AI Thread Summary
The discussion centers on designing a matrix of binary values (1s and 0s) in specified patterns, with the dimensions m x n being flexible. The first pattern alternates rows of 1s and 0s, while the second pattern introduces a staggered arrangement. Participants emphasize the importance of sharing attempted solutions and understanding the challenges faced, rather than simply providing answers. This approach encourages learning and problem-solving skills in matrix design.
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
 
Back
Top