Professional Documents
Culture Documents
The Closest Approximation To The Product 0.3333
The Closest Approximation To The Product 0.3333
Introduction
Since Curve Fitting Toolbox can handle splines with vector coefficients, it is easy to implement
interpolation or approximation to gridded data by tensor product splines. Most spline construction
commands in the toolbox take advantage of this.
However, you might be interested in seeing a detailed description of how approximation to gridded
data by tensor products is actually done for bivariate data. This will also come in handy when you
need some tensor product construction not provided by the commands in the toolbox.
Decimal Fraction
Q.
A. 1818
B. 3434
C. 3838
D. 2525
Explanation :
Exercise 1
A. 6723 * 10-5
B. 67.23 * 107
C. 6.723 * 106
D. None of these
A. 0.000196
B. 0.00196
C. 19.6
D. 196
34.View Answer | Report Error
Error of the Approximation
Here is a plot of the error, i.e., the difference between the given data value and the value of the spline
approximation at those data sites.
errors = z - spcol(knotsx,kx,x)*coefs*spcol(knotsy,ky,y).';
mesh(x,y,errors.');
xlabel('x'); ylabel('y');
view(150,50);
title('Error at the Given Data Sites');