Cody

Problem 1476. Radial Zernike polynomials

Given an integer n ≥ 0 and an integer m ≥ 0, generate the radial Zernike polynomial of radial degree n and azimuthal degree m. You may assume that mod(n-m,2)==0 and mn.

Examples:

 radialZernike(0,0)
 ans =
     1
 radialZernike(1,1)
 ans =
     1     0
 radialZernike(2,0)
 ans =
     2     0    -1
 radialZernike(2,2)
 ans =
     1     0     0

Neither string operations nor interpolations are allowed!

Solution Stats

80.0% Correct | 20.0% Incorrect
Last solution submitted on Mar 18, 2016

Problem Comments

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