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 Solvers920
Suggested Problems
-
4183 Solvers
-
Maximum running product for a string of numbers
2254 Solvers
-
1220 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1305 Solvers
-
Make a vector of prime numbers
966 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!