How would you write a script file using the product symbol?

5 views (last 30 days)
Suppose we are given the increasing set of points ξ1, ξ2, ..., ξn+1. For any j ∈ N[1,n + 1] the unique polynomial of degree n, say q(x), which satisfies q(ξk) =(1 if k = j ,0 otherwise this can be written as q(x) = Π (x−xk)/(xj −xk) .
I'm not really sure how you would solve this problem with a script file.

Answers (0)

Categories

Find more on Polynomials in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!