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 Solvers885
Suggested Problems
-
3912 Solvers
-
Back to basics 25 - Valid variable names
328 Solvers
-
Create matrix of replicated elements
384 Solvers
-
539 Solvers
-
Convert from Fahrenheit to Celsius
25860 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!