Cubic Hermite spline

Piecewise hermite cubic interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for piecewise hermite cubic interpolation. Piecewise Hermite cubic interpolation between 2 points knowing derivative values Syntax: y=p3hermite(x,pointx,pointy,yprime,plt) Where pointx = data points of the independent variable            (The points do not have to be equally spaced) pointy = data points of the dependent variable.

Image(or matrix) rotation and scaling function in matlab

The following Matlab project contains the source code and Matlab examples used for image(or matrix) rotation and scaling function. This function takes an image or matrix and rotate it by theta (radian, rigid motion) The image could also be enlarged or shrinked by an optional scaling factor  img: input image (or or a 2D Matrix)  dtheta: the amount of rotation in radian  scale: a scalar number that scales the image (default=1)  interpMethod:       'nearest' - nearest neighbor interpolation       'linear' - bilinear interpolation (defalt)
Subscribe to RSS - Cubic Hermite spline