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 Solvers908
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2804 Solvers
-
1175 Solvers
-
Find the maximum number of decimal places in a set of numbers
3353 Solvers
-
451 Solvers
-
691 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!