Is there a way to calculate the coefficients of Legendre polynomials?

8 次查看(过去 30 天)
Hello everyone. I am currently working on conditioning a Henkel moment matrix. I am aware of the fact that the function equilibrate exists and that it serves to improve the conditioning. Aditionally, I have also found a paper in which a specific way to improve the conditioning is described. To implement said method I need a matrix which contains the coefficients of the Legendre polynomials. However, I cannot find a way to do this using matlab. Can someone help me?
If legendre polynomials are 1, x, 3x^2-1,... then I need a matrix as
1 0 0 ...
0 1 0 ...
-1 0 3 ...
and so on.
Any help is appreciated.
Thanks.
Regards.
Jaime.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polynomials 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by