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.335.601 Times

Fast interpolation 1.0

  Date Added: August 03, 2013  |  Visits: 336

Fast interpolation

Report Broken Link
Printer Friendly Version


Product Homepage
Download (42 downloads)



This function performs interpolation faster than MATLAB's "interp1" function. In the limit of small library and search arrays, it is ~5x faster. In the limit of large library arrays, qinterp1 has a flat scaling, while interp1 has a linearly increasing scaling (see the image for this file). qinterp1 requires an evenly spaced, monotonically increasing x array. Like interp1, qinterp1 returns NaN for xi values that are out of bounds.Per John D'Errico's suggestion, the nearest-lower-neighbor method has been changed to now use true nearest-neighbor interpolation (at a slight speed cost).A note on error checking: Because any error checking of the library array would destroy the flat scaling law, this function performs no error checking on the library (x and y) arrays. This function will return an error if the y and xi arrays are not both column or both row vectors.Type "help qinterp1" for usage instructions.This should be backwards compatible for quite a few releases. It is platform-independent.The attached image shows the result of speed tests performed on a 2.4GHz, 2GB Windows XP machine. The same x, y, and xi vectors were used for each algorithm. The qinterp1 method came out ahead in all parameters tested. Note that, surprisingly, in the case of evenly-spaced x vectors, interp1q is slower than interp1 for most parameters, and interp1's nearest-neghbor interpolation is almost always slower than linear interpolation!Note: After writing this function, I noticed Umberto Picchini's fast interpolation function, which provides up to a 4x speedup without the requirement of an evenly-spaced array. The file ID is 8627.

Requirements: No special requirements
Platforms: Matlab
Keyword: Ahead Algorithm Attached Ghz Machine Performed Result Shows Tests Windows
Users rating: 0/10

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


FAST INTERPOLATION RELATED
Audio Tools  -  KaraokeMachine2Laptop 1.0
Anyone who has performed karaoke shows with a disc based system knows how much of a nuisance discs can be. Loading discs in and out of the machine, storing them, keeping them clean, and hauling them around is not a lot of fun. The typical karaoke...
504.43 KB  
Communication  -  Extended DFT 1.0
EDFT (Extended Discrete Fourier Transform) algorithm produces N-point DFT of sequence X where N is greater than the length of input data. Unlike the Fast Fourier Transform (FFT), where unknown readings outside of X are zero-padded, the EDFT...
235.52 KB  
Development Tools  -  Edge Detection algorithm in Embedded MATLAB 1.0
The attached model implements a Sobel edge detection algorithm in Embedded MATLAB.This demo shows how to read in an image operate on the serialized data and reconstruct the image back from serialized data after applying Sobel operators. The demo...
30.72 KB  
Libraries  -  Kernel-Machine Library 0.1
The Kernel-Machine Library is a freely available (released under the GPL) C++ library to promote the use and progress of kernel machines. It is both for academic use and for developing real world applications. The Kernel-Machine Library draws...
51.2 KB  
Communication  -  A 32 point FFT in embedded MATLAB using fixed point arithmetic 1.0
DFT plays important role in DSP and used in wide variety of applications like correlation and spectral analysis. Understanding quantization errors in its computation is an important aspect of its design either for s/w or h/w implementation.A...
10 KB  
Development Tools  -  Summing Kempner's Curious (Slowly-Convergent) Series 1.0
This package shows how to compute the sum of some very strange convergent series.The harmonic series 1/1 + 1/2 + 1/3 + ... + 1/n + ... diverges. This means that the sum can be made as large as desired by adding enough terms.Suppose we delete from...
10 KB  
Development Tools  -  Airport Conveyer Belt 1.0
The model shows how Simulink and Stateflow can be used to model plant and control algorithms for an airport conveyer belt. MATLAB is used for animation.Coverage analysis can be used to detect uncovered areas in the controller during specific tests...
81.92 KB  
Modules  -  Custom Site Search 1.0
The search application allows visitors to search your website or the web from within your site/blog. This means that the user does not have to leave your page or even open a new tab/window. It uses google custom site search to search within your...
10 KB  
File Synchronizers  -  ZSKSoft Synchronizer 1.20
ZSKSoft Synchronizer is a fast and easy-to-use tool for comparing and synchronizing files and folders. It assists you to perform a frequently used actions of updating data between server and workstation, notebook and desktop, folders in the...
427 KB  
File Sharing  -  File Bus 1.1
Send big files to your friend / fellow? Backup important documents to your remote server? Spending whole night downloading a movie? Have you ever thought such tasks could be done in minutes, or even in seconds? Don't let "SLOW" network waste your...
330.63 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