Home > By category > Scripts >Development Tools > anyEq



anyEq

  • Downloads: 
  • Views: 
  • Rating:

C-Mex: anyEq

This is a simple but fast check, if two arrays contain any common element.
If no common element is found, the C-Mex is 30% to 50% faster than the equivalent Matlab expression "any(X(:) == y)" and much faster than "any(ismember(X, Y))" if Y is an array.
If a matching element is found early, this function returns very fast without testing the rest.
In opposite to the Matlab version, the C-mex does not need any temporary arrays.

R = anyEq(X, Y)
INPUT:
X, Y: Arrays, arbitrary size. The order of X and Y does not influence
the speed. Types: DOUBLE, SINGLE, (U)INT8/16/32/64, CHAR.
OUTPUT:
R: TRUE if X and Y have any common element.

Tested: Matlab 6.5, 2008a/b, 2009a, 2011b, 32/64 bit
LCC, BCC, OWC, MSVC 2008 and 2010, WinXP and Win7.
Assumed compatibility: Linux, MacOS.
Pre-compiled Mex: http://www.n-simon.de/mex

Suggestion and bugreports through the author page of the FEX or by email are appreciated.

Free download from Shareware Connection - This is a simple but fast check, if two arrays contain any common element

Publisher: Jan Simon | License: Shareware
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 01-05-2013 | Rating: 0 | Title: anyEq

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/26867/3/anyEq.zip

More downloads from anyEq publisher Jan Simon:

ScaleTime - ScaleTime - fast linear matrix interpolation

DateStr2Num - DATESTR2NUM - Fast conversion of DATESTR to DATENUM

strncmpr - Compare last N chars of strings or cell strings

Patch FILTFILT - If applied to a matrix, the function FILTFILT (Signal Processing Toolbox) calls itself recursively for each column.

fSGolayFilt - fSGolayFilt is a fast polynomial smoothing filter for uniformly spaced signals

anyEq keywords:
anyEq related downloads:

Float Type Speed Tester - Test the speed of arithmetics for float type numbers: Single, Double, Extended comparison.

Order-In-Hand® Mobile Order - Free for limited use. Additional features and support are paid options.Order-In-Hand® Mobile Order provides unsurpassed ease and speed for mobile ordering. Lightning fast order writing speed regardless of the speed of the network.Barcode & ...

Ababa speed reading - Ababa Speed Reading makes speed reading comfortable and pleasant. Double your reading speed and comprehension.

Speed reading is not magic - Speed Reading makes speed reading comfortable and pleasant. Double your reading speed and comprehension.

SuperPCB - SuperPCB is a strong application that can help you design PCB models that can be used for single, double or multilayer circuit boards.

Shareware Connection periodically updates pricing and software information of 'anyEq' from company source 'Jan Simon' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'anyEq' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of anyEq.

New Reviews

Zoolz - No serious PC user needs introduction about the need to backup data, both at home and workplace. There was a time when majority of people used external HDD or storage media to backup important data. However, local data backup has its limitations ...

Edius Pro - In the last few years, NLE video editor segment has become somewhat populated than earlier, with big names like Sony vying for attention with established behemoths like Adobe. However, Adobe’s move to subscription only model has deterred ...

Avira Ultimate Protection Suite - With time the importance of PC security has gone up by leaps and bounds. Earlier, people used to rely on standalone antivirus software. However, security conscious users prefer having a more robust form of protection. They opt for Internet ...

Adobe SpeedGrade - Adobe has been a long time player in video editing and post production sector, with apps like Premier Pro and AfterEffects winning accolades and keeping customers hooked for several years. To cater to a niche section of the target users, it has ...

SlimCleaner - Nearly all PC users need to use various utilities to enhance performance of their laptop or desktop from time to time. Windows inbuilt utilities can serve the purpose but when you can find more capable third party apps at low or zero cost, why ...

AOMEI Partition Assistant Lite Edition - No matter whether you are a casual PC user or deal with a number of computers for professional needs, taking care of hardware components is a necessity. Among all hardware components used in laptop or desktop, hard disk is the most important one. ...

PureSync Personal - When you use computers, there is no way you can escape using specialized third party software. These need to be used for various needs including office productivity, web access, taking back-up and ensuring proper synchronization across multiple ...

Undela - Computers users may lose data owing to a number of reasons. Data loss caused by hardware failure does not take place regularly. However, there are many instances when you may end up deleting files and folders by mistake. In shared computers, ...

Serif MoviePlus X6 - It is no longer the norm that studio professionals deal with video editing and adding effects exclusively. Average PC users also need to deal with video clips derived from multiple sources from time to time. The abundance of video editing apps ...

Adobe Media Encoder - Almost every PC user faces a situation where he or she needs to convert an audio or video file fast into a format of choice. There are several free and commercial apps, but the abundance of options can actually make selection difficult. If you ...




New Downloads

magicDesk

MagicDesk is a suite of
web-based applications (apps)
for customer service and
support, highly integrated
with each ...

Website Monitoring -
Performance Monitoring

Website monitoring,
performance, and uptime
management tool. Run this
script as often as you'd like
your website monitored.

Dual Clutch Transmission
Model in Simulink

This file contains a
dual-clutch transmission model
built using Simscape and
SimDriveline that can be
configured for ...

Search configuration

This module has five main
functions

Least Squares Data Fitting
in MATLAB

Demonstration of least squares
data fitting using both
inverse and backslash
operators.

Templates for Modeling
Scheduling Behavior with
Simulink and Stateflow ver
1p0

The complete set of software
in a electronic control unit
(ECU) consists of an operation
system, hardware drivers, ...

WordPress Post Update Links

Who doesn't know this: You
published a post

IDBlogNetwork Ads

IBNadds is a plugin to install
Ad IDBlogNetwork on your
WordPress blog

In Context Admin Notes

In Context Admin Notes allows
Administrators to leave
themselves and other Admins
notes inside of posts and
pages.

TabGarb

By using TabGarb you can
easily convert your simple
post/page contents into
javascript tab contents .

ANNI - solver of a set of
non-linear equations

Let us suppose a set of
non-linear equations in the
form F(m) = d (m,d are
vectors, F is a vector
function of vector ...

Ingle & Proakis Chapter 3
Solutions

It contains answers to
selected problems from Ingle &
Proakis "Digital Signal
Processing Using Matlab v4.0"
Chapter 3