Description
Return the first N perfect squares
Example
input = 4;
output = [ 1 4 9 16 ];
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers920
Suggested Problems
-
Increment a number, given its digits
684 Solvers
-
Change the sign of even index entries of the reversed vector
644 Solvers
-
Create a Multiplication table matrix...
690 Solvers
-
776 Solvers
-
Element by element multiplication of two vectors
397 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!