Cody
Given n as input Draw a 'X' in a n-by-n matrix.
example:
n=3 y=[1 0 1 0 1 0 1 0 1]
n=4 y=[1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1]
The Goldbach Conjecture
3308 Solvers
All capital?
543 Solvers
Rotate a Matrix
469 Solvers
Return the first and last character of a string
1660 Solvers
find radius of cone
198 Solvers
Draw 'B'
97 Solvers
Numbers on 7-segment
15 Solvers
Win all the time!
8 Solvers
Find all repeated numbers
20 Solvers
Calculate mean value of any pair in a vector.
26 Solvers
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office