Generate a vector like 1,2,2,3,3,3,4,4,4,4
So if n = 3, then return
[1 2 2 3 3 3]
And if n = 5, then return
[1 2 2 3 3 3 4 4 4 4 5 5 5 5 5]
Project Euler: Problem 6, Natural numbers, squares and sums.
Output any real number that is neither positive nor negative
Who is the smartest MATLAB programmer?
Given area find sides
Determine if input is a Narcissistic number
Put m balls into n boxes
If the number is Narcissistic number
Find the regional maximum value
Put m balls into n boxes (again)
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