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

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

Tags

Asked:

on 5 Feb 2016

Commented:

on 5 Feb 2016

Community Treasure Hunt

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

Start Hunting!