Problem 1474. Chebyshev polynomials of the 1st Kind
Given an integer n ≥ 0, generate the n-th Chebyshev polynomial of the 1st Kind.
Examples:
chebyshev1stKindPoly(0) ans = 1
chebyshev1stKindPoly(1) ans = 1 0
chebyshev1stKindPoly(2) ans = 2 0 -1
Neither string operations nor interpolations are allowed!
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers70
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15367 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2922 Solvers
-
Find the stride of the longest skip sequence
148 Solvers
-
731 Solvers
-
Find my daddy long leg (No 's')
2159 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!