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.
Rotate input square matrix 90 degrees CCW without rot90
Sum the elements in either diagonal of a square matrix
Sum of odd numbers in a matrix
Evaluating a polynomial
Matlab Basics - Pick out parts of a vector
Prime numbers between a , b.
Numbers on 7-segment
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