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 Solvers81
Suggested Problems
-
Which values occur exactly three times?
5248 Solvers
-
Project Euler: Problem 3, Largest prime factor
1816 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
589 Solvers
-
How many trades represent all the profit?
619 Solvers
-
60 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!