Cody
Covering some basic topics I haven't seen elsewhere on Cody.
Given an input matrix, generate an output matrix that consists of the input matrix replicated in a 2 by 2 pattern Examples:
[1] -> [1 1 1 1]
[1 2 -> [1 2 1 2 3 4] 3 4 3 4 1 2 1 2 3 4 3 4]
No Twins?
190 Solvers
Number of Circles in a Number
169 Solvers
Counting down
250 Solvers
Armstrong Number
184 Solvers
Matlab Basics - Rounding III
264 Solvers
Back to basics 13 - Input variables
203 Solvers
Better bullseye matrix
159 Solvers
Convert Roman to Arabic Numerals
59 Solvers
Back to basics 7 - Equal NaNs
337 Solvers
Tricky timing
140 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