Hello:
I am trying to compute an associated legendre function P(n,a*m/b,x) where n is the degree and m is the order. The inbuilt routine in MATLAB 'legendre.m' allows to enter a given n and generates the value of the polynomial for a given x where { -1 <= x <= 1 ; 0 < m < n}. However if I have an associated legendre function of the form P(n,a*m/b,x) how does one include the effect due to the constants a and b?
Please note that m continues to remain an integer in the current form. However 'a*m/b' may or may not be an integer strictly depending on the values of a and b.
Thank you.
Regards, D. Sarkar
Best Answer