Given an array x, return a number n equal to the largest number of repetitions in your data.
If x=[1 2 3 6 8 4 9] then n=1.
If x=[2 3 6 2 6 2 2] then n=4.
Make a checkerboard matrix
Sum the elements in either diagonal of a square matrix
Find a Pythagorean triple
Find out sum of all elements of given Matrix
Matlab Basics II - squares
Create One Large Eye of size N x N Quickly?
Given n, create n random numbers such that their standard deviation is also n.
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