Given the dimensions of a matrix nRow and nCol where nCol > nRow, draw the Greek letter 'α' with 1's and 0's. You can consider the letter as a combination of 'c' and 'x'. For example:
A = [ 0 1 1 0 1;
1 0 0 1 0;
0 1 1 0 1] for nRow=3 and nCol=5;
A = [ 0 1 1 1 1 1 1 0 0 1;
1 0 0 0 0 0 0 1 1 0;
1 0 0 0 0 0 0 1 1 0;
0 1 1 1 1 1 1 0 0 1] for nRow=4 and nCol=10.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers13
Suggested Problems
-
Create a function handle that reverses the input arguments of another function handle
158 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Return unique values without sorting
1026 Solvers
-
Longest run of consecutive numbers
6797 Solvers
-
411 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!