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 Solvers924
Suggested Problems
-
Determine if a Given Number is a Triangle Number
399 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1397 Solvers
-
Back to basics 6 - Column Vector
1110 Solvers
-
Celsius to Fahrenheit converter
671 Solvers
-
find the surface area of a cube
568 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!