Code Directory
 Visual Basic & VB.NET
New Code
The C# Excel Library 2020.5
dbForge Studio for MySQL 9.0
LinkedIn Clone 2.2
Uber clone Apps 4.0
Cab Booking Script 1.3.2
Airbnb Clone HomestayDNN 3.0
Magento Language switcher 1.2.1
The .Net PDF Library 2020.3.2
IP2Location Geolocation Database 2020.5
ODBC Driver for MailChimp 2.0
ODBC Driver for NetSuite 2.0
ODBC Driver for SQL Azure 3.1
dbForge Schema Compare for Oracle 4.1
dbForge Data Compare for Oracle 5.1
dbForge Studio for Oracle 4.1
Top Code
dbForge Studio for MySQL 8.1
dbForge Studio for Oracle 3.10
dbForge Schema Compare for Oracle 2.7
dbForge Data Compare for Oracle 3.7
IP2Location Geolocation Database 2020.5
azar's knights tour 1.0
PDF Chart Creator DLL
PDF Chart Creator Dynamic Link Library 1.0
Form creator 1.0
FormMail Lite 1.0
BS/1 Professional - Time Billing and Accounting
Online Video Rental Software System Alpha
Bullschmidt ASP Web Database Sample 2.0
Easy PCB Design Software in Java 1.0
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Regular Control Point Interpolation Matrix with Boundary Conditions 1.0
File ID: 80493

Regular Control Point Interpolation Matrix with Boundary Conditions 1.0
Download Regular Control Point Interpolation Matrix with Boundary Conditions 1.0http://www.mathworks.comReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
Regular Control Point Interpolation Matrix with Boundary Conditions 1.0 Description
Description: The main file interpMatrix.m in this package creates a sparse Toeplitz-like matrix representing a regularly-spaced interpolation operation between a set of control points. The user can specify the interpolation kernel, the number of control points, the spacing between the control points, and certain boundary conditions governing the behavior at the first and last control point.

The tool has obvious applications to interpolation, curve fitting, and signal reconstruction. More generally, the ability to represent interpolation as a matrix is useful for minimizing cost functions involving interpolation operations. For such functions, the interpolation matrix and its transpose inevitably arise in the gradient.

The file Example1D.m in the package gives an example application of the tool to upsampling/signal reconstruction using cubic B-splines with different possible boundary conditions. The screenshot above shows the output of this example, and illustrates how improved signal reconstruction is obtained using boundary extrapolation by mirroring.

Although the matrix generated by interpMatrix() is for 1D interpolation, it can be generalized to n-dimensional tensorial interpolation using kron(). However, a more efficient alternative to kron() is this tool,

whose usage in conjunction with interpMatrix() is illustrated in the file Example2D.m, a generalization of Example1D.m to two dimensions.


T=interpMatrix(kernel, origin, numCtrlPoints, CtrlPointSep, extraprule)


T: sparse output matrix. The columns of T are copies of a common interpolation
kernel (with adjustments for boundary conditions), but shifted in
increments of the CtrlPointSep parameter (see below) to different control
point locations. The result is that if x is a vector of coefficients,
then T*x is the interpolation of these coefficients on the interval
enclosed by the control points.


kernel: vector containing samples of an interpolation function, shifted copies
of which will be used to create the columns of T. This vector never
needs to be zero-padded. Zero-padding is derived automatically from
the other input arguments below.

origin: Index i such that kernel(i) is located at the first control point.
It is also possible to specify the origin using the following
string options:

'max': origin i will be selected where kernel(i) is maximized.
'ctr': origin i will be selected as ceil((length(kernel)+1)/2).

numCtrlPoints: number of control points in the system.

CtrlPointSep: a stricly positive integer indicating the number of samples between
control points.

extraprule: Initially, the shifted copies of "kernel" form the columns of T. The columns are then modified to satisfy edge conditions indicated by the "extraprules" parameter. Options for this parameter are the strings 'zero', 'mirror','rep', 'circ', or 'allcontrib'. These are explained in the help doc.

License: Freeware

Related: interval, enclosed, coefficients, Vector, Locations, result, Samples, zeropadded, zeropadding, Create, Function, Parameter, Usage, dinterpmatrixkernel

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0

More Similar Code

A simple partial differential equation (PDE) with boundary conditions is examined:

d/dx( x dy/dx ) = x
y(0) = y(1) = 0.

Integrate the PDE twice to get its solution. Then apply the boundary conditions and get a contradiction. The boundary value problem(BVP)has no solution.

Regardless, apply the finite elements method (FEM) using piecewise linear basis functions. The FEM is successfully completed without a...

It will help you to make a N-point Paired matrix for FFT.


Input data is the Microsoft ExceldlT« file, where the table of nodes, table of elements, nodal external loads vector and boundary conditions are stored.
After running the mabs3d.m file on the Command Window, the program calculates the...

This script simulates the time evolution of a quantum mechanical wavepacket on the unit square with Dirichlet boundary conditions. Spatial discretization is with a Chebyshev-tau spectral method and time discretization is with a second order...

Input data is the MS Excel file, where the table of nodes, table of elements, nodal external loads vector and boundary conditions are stored.
After running the mabs2d.m file on the Command Window, the program calculates the stiffness matrix...

The package comprises of a graphical utility to place uniform B-spline control points and see how the B-spline is redrawn as control points or control point weights are adjusted, and functions to estimate B-splines with known knot vector, given a...

The samples of code included numerically solve the diffusion equation as it arises in medical imaging. This process is done with multiple solution methods, various boundary conditions, and in multiple dimensions.

A thin plate under uniform transverse pressure is considered with simply supported and clamped boundary conditions. Using Finite Element Method plate equations are solved. Pre-processing is done using a standard FEM software. Plate is dicretized...

2-D Propagation code similar to parabolic wave codes but with complete boundary conditions for irregular surfaces. Induced boundary surface currents are retained. Documentation and examples are provided. Basic code structure can be extended to...

User Review for Regular Control Point Interpolation Matrix with Boundary Conditions
- required fields

Please enter text on the image