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 Solvers931
Suggested Problems
-
Determine whether a vector is monotonically increasing
23654 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3074 Solvers
-
First non-zero element in each column
969 Solvers
-
Find out missing number from a vector of 9 elements
322 Solvers
-
369 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!