Faster linear Interpolation 1.0 |
Date Added: June 01, 2013 | Visits: 286 |
|
||||||||
I threw this together for myself, because I wanted a version of interp with differences 1, 2, and 3 (below). I'm sure it's not as fast as it could be - feel free to comment on any potential improvements, or on any bugs.Differences from MATLAB built-in functions: 1. MUCH faster 2. Extends border values instead of returning NaN 3. If coordinate is exactly on the spot, it doesn't look at neighbors. Example of why this might be relevant: interpolate([blah, blah2], [desiredvalue, NaN], blah) returns desiredvalue instead of NaN 4. Order of X/Y arguments switched for 2d and 3d interpolate 5. Only takes a scalar query value (I will change this sometime perhaps, when I feel like it, or if I see that people actually care and want to use my function) Anyways, I know it's really simple, and most of you could have coded it yourself, but hope you find good use for this!
|
License: Shareware | Size: 10 KB |
Network Monitors
-
DNSServiceMetaQuery 1.2
This sample uses DNSServiceQueryRecord to send a Multicast DNS query that returns a list of Bonjour service types being advertised on the local network. Machines must be running mDNSResponder-58.6 (Mac OS X 10.3.4) or later in order to respond to... |
20.48 KB | |
Libraries
-
Db::Documentum 1.63
Db::Documentum is a Documentum API interface for Perl. SYNOPSIS use Db::Documentum qw(:all); scalar = dmAPIGet( ); $sessionID = dmAPIGet("connect,docbase,username,password"); scalar = dmAPIExec( ); $rv =... |
296.96 KB | |
Development Tools
-
Peak Fitter 1.0
A command-line peak fitting program for time-series signals, written as a self-contained Matlab function in a single m-file. Uses an non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The... |
10 KB | |
Development Tools
-
Convert Roman to Arabic 1.0
N = ROMAN2ARABIC( S ) produces the Arabic numeral, N, for a given Roman numeral, S. S is a string. N returns a scalar number. |
10 KB | |
Development Tools
-
isblank.m 1.0
Function determines whether the string str consists only of blank characters. For strings of blank characters function returns logical 1. For empty strings function returns logical 0. For non-character arguments function returns a type mismatch... |
10 KB | |
Programming
-
Concurrent::Object 1.07
Concurrent::Object is a Perl module with concurrent objects in Perl. SYNOPSIS use Concurrent::Object; my $co = Concurrent( 'class' )->constructor( @arguments ); $co->method_bg; # returns... |
10.24 KB | |
Libraries
-
Math::Logic 1.19
Math::Logic is a Perl module that provides pure 2, 3 or multi-value logic. SYNOPSIS use Math::Logic qw( $TRUE $FALSE $UNDEF $STR_TRUE $STR_FALSE $STR_UNDEF ) ; # 1 0 -1 TRUE FALSE UNDEF use Math::Logic :NUM ; # $TRUE $FALSE $UNDEF -- what... |
12.29 KB | |
Libraries
-
Data::Diff 0.01
Data::Diff is a data structure comparison module. SYNOPSIS use Data::Diff qw(diff); # simple procedural interface to raw difference output $out = diff( $a, $b ); # OO usage $diff = Data::Diff->new( $a, $b ); $new = $diff->apply();... |
6.14 KB | |
Utilities
-
Arbitrary Command Output Colourer 0.7.1
acoc is a regular-expression based colour formatter for programs that display output on the command-line. It works as a wrapper around the target program, executing it and capturing the stdout stream. Optionally, stderr can be redirected to... |
40.96 KB | |
Libraries
-
Parse::RandGen::Regexp 0.202
Parse::RandGen::Regexp is a Perl module for regular expression Condition element. Regexp is a Condition element that matches the given compiled regular expression. For picking random data, the regular expression is parsed into its component... |
25.6 KB |
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 |