Problem 1475. Chebyshev polynomials of the 2nd Kind
Given an integer n ≥ 0, generate the n-th Chebyshev polynomial of the 2nd Kind.
Examples:
chebyshev2ndKindPoly(0) ans = 1
chebyshev2ndKindPoly(1) ans = 2 0
chebyshev2ndKindPoly(2) ans = 4 0 -1
Neither string operations nor interpolations are allowed!
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers68
Suggested Problems
-
16510 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1791 Solvers
-
Project Euler: Problem 3, Largest prime factor
1400 Solvers
-
Who knows the last digit of pi?
654 Solvers
-
Calculate the Hamming distance between two strings
318 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!