Given this input
x = 2, 5, 1, 2, 4, 1, 1, 3
output should be (Five 2's, Two 1's, One 4, Three 1's)
[2 2 2 2 2 1 1 4 1 1 1]
Increment a number, given its digits
sum of non-primes
Will there be a new leader?
Sum of odd numbers in a matrix
Element by element multiplication of two vectors
Get all prime factors
Convert decimal to binary and then generate the minimum binary it can with jumbling
Freebies anyone? No!!!!
Recursion at variable input
Circular Shift Me
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