Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.187.255 Times

Piecewise Hermite Cubic Interpolation 1.0

  Date Added: April 12, 2013  |  Visits: 357

Piecewise Hermite Cubic Interpolation

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



Piecewise Hermite cubic interpolation between 2 points knowing derivative valuesSyntax: y=p3hermite(x,pointx,pointy,yprime,plt)Wherepointx = data points of the independent variable (The points do not have to be equally spaced)pointy = data points of the dependent variable. pointy is the value of the function at pointxyprime = data points of the dependent variable's derivative. yprime is the derivative of the function at pointxx = an arbitrary vector that will be interpolatedplt = If plt is a number greater than 0 it will plot the interpolation employing the number in plt as handle for the figure-This function returns the piecewise interpolation "y" of a vector "x".The algorithm employs two adjacent points (from pointx) and interpolateswith a Hermite cubic polynomial using the function values and the corresponding derivatives.-pointx, pointy, and yprime must be vectors with the same number of elements."x" and "y" have the same number of elements.Written by Juan Camilo Medina 2011Example:Suppose you have the values of a function "y(x)" at the points xi={0,4,9},those are yi={2,-2,sqrt(2)} respectively. You also know the values of thederivative of y(x) at the same points (pointx) yi'=[0,0,-pi/(2*sqrt(2))] respectively.You want to interpolate within those values with an arbitrary vector "x"using piecewise cubic Hermite polynomialsThus:pointx=[0,4,9];pointy=[2,-2,sqrt(2)]; %function values at pointxyprime=[0,0,-pi/(2*sqrt(2))]; %derivative of the function at pointxx=0:0.01:pointx(end); % arbitrary vector to be interpolatedy=p3hermite(x,pointx,pointy,yprime,2);y_ex=2*cos(pi/4*x); % exact value (y corresponds to y=2*cos(pi/4*x))plot(x,y_ex,'--k'); axis tight; % plots exact solution for comparisonlegend('Interpolation Points','Hermite Interpolation','Exact Value','Location','Southeast')Written by Juan Camilo Medina - The University of Notre Dame

Requirements: No special requirements
Platforms: Matlab
Keyword: Interpolate Quotyxquot Sqrt Suppose Xi3d049
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


PIECEWISE HERMITE CUBIC INTERPOLATION RELATED
Libraries  -  SQL::Interpolate 0.33
SQL::Interpolate is a Perl module to interpolate Perl variables into SQL statements. SYNOPSIS use SQL::Interpolate qw(:all); # Some sample data to interpolate: my $s = blue; my @v = (5, 6); # Variable references are transformed into bind...
57.34 KB  
Development Tools  -  Noise variance estimation 1.0
Suppose that you have a signal Y (Y can be a time series, a parametric surface or a volumetric data series) corrupted by a Gaussian noise with unknown variance. It is often of interest to know more about this variance. EVAR(Y) thus returns an...
10 KB  
Development Tools  -  MatLab and SQL Stored Procedure 1.0
Suppose you have a Stored Procedure that runs on MS SQL Server and you want to use actxserver to exchange data with your Matlab programs, you will need to use ADODB.Parameters to map the input and output parameters required by the stored...
10 KB  
Development Tools  -  airProp 1.0
A suite consisting of two functions that interpolate thermodynamical properties of air between 100-2500 K.Lookup tables given as .mat-files.Vectors of temperatures and properties are accepted.
10 KB  
Development Tools  -  minimize ratio perimeter/sqrt(area) of a random shape 1.0
http://simulations.narod.ru/Shape is represented as 32-vertex polygone. The program in starts with random shape. In iteration of random search it search minimum perimeter/sqrt(area) each time. In each iteration the code try random position of...
10 KB  
Development Tools  -  An example of Zipf' law 1.0
%Input:%Suppose you have a file that lists the occurences of every n-gram,%and has a data format looks like (%s %s ... %d):%hello 367%word 5754%Output%Plot a JPG figure and saves it in the data files' parent directory
10 KB  
Development Tools  -  Interpolate x-data 1.0
Normal interpolation methods takes equally spaced/user-generated x-data as input and outputs new interpolated y-data with non-uniform spacing.This function generates y-data with equal spacing, and interpolates/generates the x-data (linear...
10 KB  
Miscellaneous  -  Contours for triangular grids 1.0
Plots the contours of a function defined on an unstructured triangular grid directly, without the need to interpolate back onto a Cartesian array.I have attempted to replicate much of the functionality of the regular "contour" function.Type "help...
348.16 KB  
Mathematics  -  FindGraph 2.48
FindGraph is a comprehensive graphing, curve fitting, and digitizing tool. FindGraph offers 12 generic fits, including linear regression, logistic functions, fourier approximation, rationals, neural networks, B-splines and parametric curves least...
4.33 MB  
Arcade Style Games  -  Bolcatoid 1.0
Bolcatoid is a breakout clone, well, more a distant Arkanoid clone I suppose :) including 25 levels, tons of cumulative bonuses, enemies, highscore saves and final big boss. Note: On MorphOS, Win32 and Mac OS X, the game requires SDL and SDL_mixer...
500 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB