For a given vector, find all numbers that repeated 2 times or more than 2 times.
A=[1 2 3 3 4 5 6 6 7]
A=[1 1 1 1 0 1 1 2 2 9]
Please adjust your Test Suite. In the first test case please test for an empty array using "isempty", not equality to "". See Solution 1539918. —DIV
Same issue illustrated in Solution 1539926.
Determine whether a vector is monotonically increasing
Return the first and last character of a string
Generate a string like abbcccddddeeeee
Side of an equilateral triangle
Draw a 'X'!
Prime numbers between a , b.
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