In a array x, count the number of times the number n appears in x.
for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer should be 3, because 2 appears 3 times in x
Set the array elements whose value is 13 to 0
Determine the number of odd integers in a vector
CONVERT TAN TO SIN
Sum the 'edge' values of a matrix
Back to Basics - Find no. of elements in a matrix?
Odd times 3
How many complete pizzas (number 2)
X plus binary inverted x
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