Problem 170. First N Perfect Squares
Description
Return the first N perfect squares
Example
input = 4; output = [ 1 4 9 16 ];
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers860
Suggested Problems
-
2270 Solvers
-
648 Solvers
-
Sum of first n terms of a harmonic progression
419 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
549 Solvers
-
668 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!