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 Solvers844
Suggested Problems
-
Maximum running product for a string of numbers
2142 Solvers
-
Getting the row and column location from a matrix
284 Solvers
-
Generate N equally spaced intervals between -L and L
854 Solvers
-
Split a string into chunks of specified length
1654 Solvers
-
07 - Common functions and indexing 6
445 Solvers
More from this Author55
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!