Matlab programming problem

  • MATLAB
  • Thread starter RobertLeo
  • Start date
  • #1
1
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
 

Answers and Replies

  • #2
chroot
Staff Emeritus
Science Advisor
Gold Member
10,226
34
We're not going to do your homework for you. Please show us your attempted solutions, and explain why you're stuck.

- Warren
 

Related Threads on Matlab programming problem

Replies
4
Views
1K
Replies
4
Views
3K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
2
Views
4K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
5
Views
24K
  • Last Post
Replies
6
Views
22K
Replies
1
Views
2K
Replies
7
Views
3K
Replies
1
Views
2K
Top