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
-
Find the sum of all the numbers of the input vector
54691 Solvers
-
4190 Solvers
-
Find nearest prime number less than input number
1020 Solvers
-
Magic is simple (for beginners)
11536 Solvers
-
492 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!