Lagrange polynomial: two equivalent m-files
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a problem with the Lagrange polynomial in Matlab.
Here they write
% YY = LAGRANGEPOLY(X,Y,XX) returns the values of the polynomial
% sampled at the points specified in XX -- the same as
% YY = POLYVAL(LAGRANGEPOLY(X,Y)).
%
I understand that XX are the points at which the Lagrange polynomial is evaluated. But the the command after the second YY doesn't contain XX. So why these two YY are the same ? How can they be the same ??
댓글 수: 4
답변 (1개)
the cyclist
2022년 12월 23일
Assuming you are talking about this submission to the FEX, it is not from Mathworks. It is a user-contributed function. I guess you'd need to ask the author what they meant.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!