Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
VisualNEO Web 19.4.5
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
ODBC Driver for MySQL 2.4
dbForge Schema Compare for MySQL 4.4
dbForge Studio for MySQL 8.1
dbForge Query Builder for MySQL 4.4
dbForge Data Compare for MySQL 5.5
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Taxi App Development 7.3
Online Vacation Rental Booking Website Script 4.3.0
Library Management System 1.0
PHP Ecommerce Script 1.0.4
Beremiz 1.0
OptimPID: an optimal PID controller design interface 1.0
GnuWin64 64
Java-2-Pseudo 1.0
Online Book Rental System
Azizi search engine script PHP 4.1.10
Faculty Evaluation System 1.1
MLM Software ONE 1.5.46
RentALL-Airbnb clone script 1.8.0
HTML::Lint 1.21
Top Rated
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
Find values in a vector or function 1.0
File ID: 82418






Find values in a vector or function 1.0
Download Find values in a vector or function 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 4
Submit Rating:
Find values in a vector or function 1.0 Description
Description: Given a desired value "y0", this function finds all the elements "y" in a vector whose values are the closest to "y0" in the whole vector, and also the positions "xi". So, the output is a set of points [xi,y0] given in two vectors, one for the values and another one for the positions.

The inputs are:
-Vector.
-Value that you want to find in the vector "y0".

The outputs are:
-The closest values to "y0" in the function (by means the real "y" values).
-The position "xi" of those "y" values.

I hope it is useful for all of you. If you have any suggestion, please, tell me.

License: Shareware

Related: inputs, Vector, Vectors, points, outputs, suggestion, quot

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 4



More Similar Code

function [CX,CY,C_sum,C,xi,yi]=improfile_integrated(I,d,xi,yi);


'improfile_integrated' computes intensity values along a line or multiline in a greyscale images. Parameter d gives the opportunity to integrate along thicker lines with width d.

Please note the 'known problems' section!

input:
I : image (only grayscale)
d : thickness of line for integration
xi, yi : x-/y- coordinates of...



This function is useful for web programs that need to generate a unique session id to store in a cookie (or some other safe place).



LOCALPEAKS Find local peaks and troughs in a vector

SYNTAX

peaks = localpeaks(X)
peaks = localpeaks(X,MODE)


DESCRIPTION

peaks = localpeaks(X) locates the local peaks in vector X.
...



The code is written to find one mixed Nash equilibrium strategy apart from all pure Nash equilibria in a bimatrix or general sum two person matrix game. It is based upon the algorithm presented by O.L. Mangasarian in 1964. It uses quadprog to...



Function colAUC calculates Area under ROC curve (AUC) for a vector or for
each column of a matrix.

The main properties of this code:
* Ability to work with multi-dimensional data.
* Ability to work with multi-class...



Apply the Droste Effect to an image using a GUI or function call.

The Droste Effect is when an image recursively includes itself. The basic method is to insert a scaled copy of the image, but more interesting results can be achieved via...



shufflelabel randomly changes the order of label values in a label matrix. Zeros and nans are ignored. The label matrix can be every numerical data type, char or a cell array of strings.


Example

L = kron([1 2 3;3 2...



his plugin adds the ability to put a shortcode tag in a page or post and have it display a list of posts formatted similarly to the standard blog. The posts can be selected by one or more tag values to show only items relevant to the page.



Python closures hold closed-over values in a special datatype called a "cell"; a sort of indirect pointer. It's not simple, though, to see what values are stored there. Here's the key.



Outputs L(x) where x is a vector or scalar. L(0) explicitly set to 0.

User Review for Find values in a vector or function
- required fields
     

Please enter text on the image