Return the first N perfect squares
input = 4;
output = [ 1 4 9 16 ];
Factorize THIS, buddy
Flip the main diagonal of a matrix
Number of 1s in a binary string
Matrix which contains the values of an other matrix A at the given locations.
What is Sum Of all elements of Matrix
Check to see if a Sudoku Puzzle is Solved
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
Specific Element Count
Inhomogenous Depth Scale Interpolation
Great Circle Distance
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
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