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
Replace NaNs with the number that appears to its left in the row.
Permute diagonal and antidiagonal
Is this triangle right-angled?
y equals x divided by 2
Sum positive elements of matrix.
surface areas of a cylinder
Basic matrix operations using standard MATLAB commands
function to compute root mean square of first nn positive odd integers
Percentage of zeros in a matrix of only 1s and 0s
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