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
Roll the Dice!
Create matrix of replicated elements
02 - Vector Variables 2
Matlab Basics II - squares
Find the sum of n squares
Find NaNs in the matrix
Basics: counting digits of a number irrespective of the sign
Calculating the total earnings of a factory
function to compute root mean square of first nn positive odd integers
Nth root of a number
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