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 Solvers912
Suggested Problems
-
Back to basics 21 - Matrix replicating
1784 Solvers
-
1493 Solvers
-
Find the maximum number of decimal places in a set of numbers
3363 Solvers
-
07 - Common functions and indexing 1
451 Solvers
-
Find the dimensions of a matrix
555 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!