필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to solve this legendre polynomals

조회 수: 1 (최근 30일)
Mohmmadsoaib Diwan
Mohmmadsoaib Diwan 2015년 5월 12일
마감: Walter Roberson 2015년 5월 12일
The first three Legendre polynomials are P0(x) = 1, P1(x) = x, and P2(x) = (3x2−1)/2. There is a general recurrence formula for Legendre polynomials, by which they are defined recursively: (n + 1)Pn+1(x)=(2n + 1)xPn(x) - nPn-1(x)
Define a recursive function p(n,x) to generate Legendre polynomials, given the form of P0 and P1. Use your function to compute p(2,x) for a few values of x, and compare your results with those using the analytic form of P2(x) given above.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by