Cody

Problem 1465. Generalized Laguerre polynomials

Given an integer n ≥ 0 and a scalar a, generate the n-th Generalized Laguerre polynomial of association degree a.

For simplicity, assume that a is a non-negative integer.

Examples:

 genLaguerrePoly(0,1)
 ans =
     1 
 genLaguerrePoly(1,1)
 ans =
     -1    2 
 genLaguerrePoly(2,1)
 ans =
     0.5  -3    3

Neither string operations nor interpolations are allowed!

Solution Stats

59.09% Correct | 40.91% Incorrect
Last solution submitted on Mar 18, 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