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 Solvers876
Suggested Problems
-
Find the peak 3n+1 sequence value
2528 Solvers
-
Read a column of numbers and interpolate missing data
2317 Solvers
-
Sum all integers from 1 to 2^n
15996 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1200 Solvers
-
654 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!