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 Solvers889
Suggested Problems
-
Arrange Vector in descending order
12559 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
547 Solvers
-
Generate a random matrix A of (1,-1)
369 Solvers
-
236 Solvers
-
What is Sum Of all elements of Matrix
430 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!