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 -1Neither string operations nor interpolations are allowed!
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers80
Suggested Problems
-
16157 Solvers
-
Return the largest number that is adjacent to a zero
5515 Solvers
-
1663 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1305 Solvers
-
Return the first and last characters of a character array
11811 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!