Search closest value in a vector Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: searchclosest.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: M Khan (View more)

Search closest value in a vector script description:



Search closest value in a vector is a Matlab script for Mathematics scripts design by M Khan. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Search closest value in a vector - search value in sorted vector and find index and value with respect to vector that is equal

Publisher review:
Search closest value in a vector - search value in sorted vector and find index and value with respect to vector that is equal Search value 'v' in sorted vector 'x' and find index and value with 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 found then 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 xOUTPUT:i: index of v with respect to x. cv: value that is equal or closest to v in x
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

Search closest value in a vector
Rating: 1.5 out of 5
Based on 2 ratings. 2 user reviews.

  • Currently 1.50 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5