Legendre polynomial Symbolic derivative
Show older comments
I need to find derivative with respect to the argument of Associated Legendre functions symbolically . The following does not work:
x=sym('x', 'real');
q=sym('q', 'positive'); % harmonic index
t=sym('t', 'real');
x=cos(t);
P=legendre(q,x )% Associated Legendre function
P_1st_der=diff(P,x)
Can anyone help me?
Thanks
Irfan
Accepted Answer
More Answers (0)
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!