Description
Return the first N perfect squares
Example
input = 4;
output = [ 1 4 9 16 ];
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers921
Suggested Problems
-
Remove all the words that end with "ain"
2651 Solvers
-
Find out sum of all elements of given Matrix
534 Solvers
-
Matlab Basics - y as a function of x
527 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1735 Solvers
-
Convert from Fahrenheit to Celsius
27944 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!