13,452,986 members (52,214 online)
See more:
The function F(x) is a polynomial of degree 3.
And given the values of x and y = F(x) mod 251
it is required to reconstruct the polynomial F(x)
x is finite and has only 3 discrete values
how could we solve this using lagrange interpolation

hi
if i have used modulo function in the polynomial then how can i use lagrange interpolation
Posted 31-Dec-12 2:20am
Updated 31-Dec-12 21:02pm
v3

## Solution 1

Start from here and it should help you out: Matlab - Lagrange Interpolation Polynomial[^]
General info about the same: Wiki Lagrange polynomial[^]

Try out!
terasajan 2-Jan-13 3:09am

hi if i have used modulo function in the polynomial then how can i use lagrange interpolation
Sandeep Mewara 2-Jan-13 4:08am

Did you go through the MATLAB mathwork's link?
terasajan 3-Jan-13 4:17am

thank u sir
yes i did went through the links

## Solution 2

hi
if i have used modulo function in the polynomial then how lagrange interpolation function can be used
Richard MacCutchan 1-Jan-13 5:23am

Do not post questions as Solutions. If you have question to ask someone who has replied then use the "Have a Question or Comment" link below their answer.

Top Experts
Last 24hrsThis month
 Jochen Arndt 265 Richard Deeming 250 John Simmons / outlaw programmer 215 OriginalGriff 160 ppolymorphe 85
 OriginalGriff 5,260 Maciej Los 2,772 Richard Deeming 1,950 CPallini 1,747 ppolymorphe 1,628