In a given row vector, find the number of times a mode of a row vector has occurred
example: in [2 5 5 5 5 3], output is 4
Switch matrix to a column vector
Element by element multiplication of two vectors
Divide by 4
Test Problem; Create a 5x5 array containing all ones
Percentage of zeros in a matrix of only 1s and 0s
Basic Quadratic Equation
Basics: counting digits of a number irrespective of the sign
Check for keywords
ASCII sum of phrases
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