• Non ci sono risultati.

Master degree course on

N/A
N/A
Protected

Academic year: 2022

Condividi "Master degree course on"

Copied!
1
0
0

Testo completo

(1)

Master degree course on

Approximation Theory and Applications,

Lab exercises

Prof. Stefano De Marchi November 30, 2015 The tools we will use today are

• Halton sequence: low-discrepancy set of points for the hypercube [0, 1]s, s ≥ 1.

• Fill-distance (or mesh size) hX,Ω of a set of points X ⊂ Ω and Ω ⊆ Rs. hX,Ω = sup

x∈Ω

xminj∈Xkx − xjk2, (1)

In Matlab, hX=max(min(DME’)), where DME is the distance matrix constructed by using DistanceMatrix.m on an evaluation set of points (for instance a finer (equispaced) grid of the data-sites X).

• We will also consider the functions

fs(x) = 4s

s

Y

k=1

xk(1 − xk), x = (x1, . . . , xs) ∈ [0, 1]s (2)

sinc(x) =

s

Y

k=1

sin(πxk)

πxk . (3)

1 Proposed exercises

1. By using the built-in function haltonset.m, determine the Halton points for s = 1, 2, 3. For any such set, compute the corresponding fill-distance, hX,Ω.

2. Show (graphically) the nested property of the Halton sequence,

Hs,M ⊂ Hs,N, M < N . (4)

3. By using the function DistanceMatrix.m on Halton points for s = 2 compute the its condition number cond. What do you see?

4. Again for s = 2, but using the function DistanceMatrixFit.m, construct the RBF interpolant with basis φk(x) = kx − xkk2 (i.e the translates at xk of the basic function ϕ(r) = r), of the functions (2) e (3). Compute also the RMSE. How does the RMSE behave on changing the evaluation set?

5. Repeat the exercise for the gaussian ϕ(r) = e−2r2,  > 0 again for s = 2. For this exercise use the function RBFInterpolation2D.m which generalizes DistanceMatrixFit.m.

The Matlab functions can be dowloaded at the link http://www.math.unipd.it/∼demarchi/TAA2010

1

Riferimenti

Documenti correlati

In the second part, of practical type, the student will be required to compute the fundamental group and/or the homology/cohomology groups of some concrete examples.. • As for the

TP = data &gt;= threshold &amp; groundTruth==1;. TN = data &lt; threshold

About the Hammersly points, you can produce them by the corresponding function found in the Matlab File Exchange, toolbox SNTO (Sequential Number Theoretical Optimization

We look for small (sometimes “minimal”) set of generators for the fields K(E[m]) generated by the m-torsion points of an elliptic curve E (where K is any number field).. For m = 3

A mathematical reconstruction of a possible derivation made by Gauss of the linking number has been presented, together with explicit proofs of modern, equivalent interpretations of

(a) Since the ellipse has a central symmetry, the center of symmetry has to be at midway between the

[r]

Answer: the determinant of the matrix is always 0 so the matrix is not invertible for any k, and the rank is either 1 or 2.. So the function is injective, and