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
-
4494 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3677 Solvers
-
Getting the indices from a vector
11856 Solvers
-
Relative ratio of "1" in binary number
1597 Solvers
-
342 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!