Matlab programming problem

  • MATLAB
  • Thread starter RobertLeo
  • Start date
  • #1
1
0

Main Question or Discussion Point

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 for: Matlab programming problem

Replies
4
Views
1K
Replies
4
Views
3K
  • Last Post
Replies
4
Views
2K
Replies
1
Views
2K
Replies
7
Views
3K
Replies
7
Views
844
Replies
10
Views
15K
Replies
0
Views
3K
Top