Cody

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

63.33% Correct | 36.67% Incorrect
Last solution submitted on Mar 28, 2016

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more