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

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

Serving Software Downloads in 976 Categories, Downloaded 29.547.232 Times

Search closest value in a vector 1.0

  Date Added: August 21, 2013  |  Visits: 250

Search closest value in a vector

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



Search value 'v' in sorted vector 'x' and find index and valuewith respect to vector x that is equal or closest to 'v'.If more than one value is equal then anyone can be returned(this is property of binary search).If more than one value is closest then first occurred is returned(this is property of linear search).AlgorithmFirst binary search is used to find v in x. If not foundthen range obtained by binary search is searched linearlyto find the closest value.INPUT:x: vector of numeric values,x should already be sorted in ascending order (e.g. 2,7,20,...120)v: numeric value to be search in x OUTPUT:i: index of v with respect to x.cv: value that is equal or closest to v in x

Requirements: No special requirements
Platforms: Matlab
Keyword: Algorithm Found Input Linearly Numeric Obtained Order Range Searched
Users rating: 0/10

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


SEARCH CLOSEST VALUE IN A VECTOR RELATED
Spreadsheets  -  CSV Data Mix 0.2
The csvdatamix project aims to randomize CSV input data files in order to conceal the original state of the data. Similar to data masking or data transformation. Also has mapping abilities to translate back to the original state of the data.
18.28 KB  
Productivity  -  morseR 1.3.1.0
Simple morse encoder/decoder using the speech recognition API, the flaslight and the camera of your smartphone Better memory management. Fiddling morse detector algorithm. Text input to morse Dot time and sensitivity settings "on the...
1024 KB  
Development Tools  -  vector to string 1.0
This is a small M-file that can be thought of as the inverse of the colon operator: it takes a linearly spaced row vector and generates a compact notation for that vector.It handles concatenations of such vectors too, and will in fact for any real...
10 KB  
Development Tools  -  Butterworth Bandpass Filter for Image Processing 1.0
Butterworth Bandpass FilterThis simple function was written for my Digital Image Processing courseat Eastern Mediterranean University taught byAssoc. Prof. Dr. Hasan Demirelfor the 2010-2011 Spring Semesterfor the complete...
10 KB  
Development Tools  -  Binary Search of Elements lying within an Interval 1.0
Search the elements that are lying within a specified interval.Search the indexes of all elements in x (sorted vector of n elements) that lie within the interval.The algorithm uses binary searches, thus it runs in log(n)INPUT:x: vector of numeric...
10 KB  
Utilities  -  Genetic Algorithm File Fitter 0.6.0
Genetic Algorithm File Fitter, or just GAFFitter, is a command-line software written in C++ that arranges--via a genetic algorithm--an input list of items or files/directories into volumes of a certain capacity (target), such as CD or DVD, in a...
40.96 KB  
Development Tools  -  Simple example of PSO algorithm 1.0
It finds the minimum of a n variables function with the Particle Swarm Optimization Algorithm.% The input parameters are:% -func: it's the objective function's handle to minimize% -numInd: it's the number of the swarm's elements% -range: it's the...
10 KB  
Education  -  jMOTU 1.0.6
jMOTU is a software package for clustering barcode DNA sequence data into molecular operational taxonomic units (MOTU). If you are not sure what a MOTU is, please see the DNA Barcoding pages on our website. jMOTU does the following:
7.15 MB  
Development Tools  -  AuctionJacobi 1.0
This function uses the auction principle to return the optimal assignment and the dual prices. It performs quite well, and is way faster than the hungarian algorithm as the number of points increases. More details on the auction algorithm can be...
10 KB  
Development Tools  -  General simulated annealing algorithm 1.0
anneal Minimizes a function with the method of simulated annealing (Kirkpatrick et al., 1983) ANNEAL takes three input parameters, in this order:LOSS is a function handle (anonymous function or inline) with a loss function, which may be of any...
10 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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB