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
Maximum running product for a string of numbers
Back to basics 8 - Matrix Diagonals
How many trades represent all the profit?
Min of a Matrix
Flip the bit
Return median of a matrix
convert the number to binary format & count digits
Basics: counting digits of a number irrespective of the sign
Repetition of matrices
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