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 Solvers928
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5816 Solvers
-
Return a list sorted by number of occurrences
2899 Solvers
-
Increment a number, given its digits
689 Solvers
-
Back to basics 21 - Matrix replicating
1821 Solvers
-
Getting the row and column location from a matrix
301 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!