Main Content

60 results

ISMEMBERF

Version 1.10.0.0

by Bruno Luong

Floating-point ISMEMBER (i.e., with round-off tolerance)

Matlab ISMEMBER uses strict exact comparison between floats.The ISMEMBERF (note the "F") can tolerate some round off error.It is possible to configure the tolerance.'rows' option is also

CStrAinBP

Version 1.1.0.0

by Jan

Overlapping elements of 2 cell strings. 10-20 times faster than INTERSECT/ISMEMBER/SETDIFF.

Find overlap of 2 cell strings.This can be used for a faster calculation of: INTERSECT, ISMEMBER, SETDIFF and UNION.Comparison to Matlab's INTERSECT:- Consider repeated strings (no internal UNIQUE

MatStats

Version 1.1.4

by David Legland

Management of data tables, similar to dataframe in R, with enhanced plotting facilities.

GISMO - a framework for scientific research in seismology/infrasound

STK

Version 2.8.1.0

by The STK project

The STK is a (not so) Small Toolbox for Kriging

SeisLab 2.01

Version 1.2.0.0

by Eike Rietsch

Release 6.1925 of a collection of functions for analysis/display of seismic and well-log data.

'cellismember' is a function that performs 'ismember' on cell arrays with various data types

The built-in "ismember" function in MATLAB fails to perform when the input variables are cells containing different types of variables.% This function 'cellismember' is a function that performs

xplor

Version 1.0.0

by Tony Delobel

Multi-Dimensional Data Visualization

GLCM_Features4 - Calculates the texture features from the different GLCMs

Entezarmahdi for letting me know the time drain caused by ismember() function used in the earlier code.The details of the timing can be seen in "Test_GLCM_Features.html". You can also use "Test_GLCM_Features.m

ImageClass

Version 1.1.2

by David Legland

An Image class for that encapsulates a multidimensional data array together with meta-data and facilitate image processing and visualization

Multiphysic boundary value problems, interpolation, meshless, points generation, simulation

Fast network's motifs count algorithm

Fast "ismember" routine for sorted arrays

I found that "ismember" is annoyingly slow. I've avoided using it as much as I could, but there are some instances where is it unfortunately necessary. When possible, I try to use "ismembc" or

Performance tests pack for comparing PgMex and JDBC connector for PostgreSQL from Matlab

The Brick Toolbox is a set of utility functions for Matlab.

EEG brain-computer interface system for providing real-time speech entrainment neurofeedback

IsMemberRows

Version 1.0.0.0

by Steven Holden

A PC-Windows MEX file which gives the same functionality as ismember(A,S,'rows').

A PC-Windows MEX file which gives the same functionality as ismember(A,S,'rows'), except is incredibly faster. It also provides the option to consider all possible permutations of columns. The

Implementation of two algorithms that provide order centrality in directed networks

Intersectm, ismemberm, setdiffm, setxorm, unionm with multiple inputs. Ex: intersectm(a,b,c,…).

syntax example: - intersectm(a,b,c,d,....) - intersectm(a,b,c,d,...,'rows')These functions are substantially wrappers of ismember/ismemberm (like the original two-input ones with the exception of ismember

Ismember with reduced memory footprint through block processing

Applies ismember with flexible (reduced) memory footprint as shown in the snapshot.If you are working with large datasets and ismember eats up completely the RAM, starts swapping on disk, freezes

anyEq

Version 1.3.0.0

by Jan

Fast check if 2 arrays have a common element

"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

countmember

Version 2.1

by Jos (10584)

Count members.

Match elements in the rows of a matrix

getkey

Version 2.1

by Jos (10584)

Get a keypress

presses: ') ; ch = getkey(3,'non-ascii') if ismember('control', ch), fprintf('OK\n') ; else fprintf(' ... wrong keys ...\n') ; end Example 3 - Typing game S = 'abcdefghjiklm

Binary Search that is based on sum of column values of rows of input M-by-N Matrix

Relational Join of Two Matrices

contains a number of set-oriented function like INTERSECT, UNIQUE, UNION, SETDIFF, SETXOR, ISMEMBER. However, one interesting missing function is something similar to a database-like JOIN. This can be

FINDIND

Version 1.2.0.0

by Jos (10584)

find indices of matching elements between two matrices (v2.0, jan 09)

4 5 5] ; x = findind(A,B) % -> x = {[ 1 3 4 ], [ 5 9 ], [ 2 6 7 8 ] % [] , [ 5 9 ], [10 11] } See also find, ismember, unique

This Script is useful in finding symmetry lines in Skin Lesions with extensions to any binary masks.

ismember(L, find([S.Area] >= 100));BW51 = imfill(BW4,'holes');BW5 = imcomplement(BW51);imgbw = bwlabel(BW51); ss_mask = bwlabel(imgbw); stats = regionprops(ss_mask, 'BoundingBox', 'Area' ); Astats =

MEMBERSHIP

Version 1.0.0.0

by Mukhtar Ullah

Membership of elements of one array in another.

] membership({'john','gul';'sim','ku'},{'sim','gul','kid','gul'}) returns [0 2;1 0] See also FREQTABLE, ISMEMBER

Predictive models to classify individuals into broad ancestry groups (African, European, East Asian, South Asian, and American)

Puerto Rico'}AFR_temp_ix = find(ismember(kgp_sample.spec,AFR_list))EUR_temp_ix = find(ismember(kgp_sample.spec,EUR_list))EAS_temp_ix = find(ismember(kgp_sample.spec,EAS_list))SAS_temp_ix =

This multiverse optimizer based matlab code finds the optimal buses on which to install shunt capacitors and the optimal capacitor sizes.

modifies and partially uses the conventional loss sensitivity factors (LSFs) and MATLAB's ismember and any commands to reduce the search space of optimal buses that require shunt capacitor placement

Create Apple iOS app with MATLAB.

FINDARRAY

Version 1.2.0.0

by Mukhtar Ullah

Find one array within another.

that I(:,...,k) contains the k-th absolute index in A for each element of B, 0 otherwise.See also find, ismember Example: >> findarray(pascal(3),magic(2),'all') ans(:,:,1) = 1 6 0

mmwrite

Version 1.1.0.0

by Micah Richert

write AVI/ASF/WMV/WMA file from movies read by mmread

mmwrite('','ListAviVideoEncoders'); if ~any(ismember(list,'ffdshow video encoder')) conf.videoCompressor = 'Cinepak Codec by Radius'; % default to this if ffdshow isn't installed... else conf.videoCompressor = 'ffdshow

outN

Version 1.0.0

by Shojiro SHIBAYAMA

A function that picks up N-th output of a function.

For instance, outN(@ismember,2,1,[0,1,2,3,4,5]) returns 2, which is the second output of ismember(1, [0,1,2,3,4,5]).

Logical indexing is used to map integer from one set to another

Given two sets of integer, integer is mapped from one set to another. The author acknowledges Stephen Cobeldick for his suggestion on using ismember to perform same task[~,idx] = ismember(A,map2); B

atom

Version 3.00

by Michael Holmboe

Atomistic Topology Operations in MATLAB (atom), is a MATLAB library for manipulation of (periodic) molecular systems

manipulate the atom struct with respect to the different attributes using MATLAB's own index-related functions like find, strcmp, ismember, and so on. This even allows us to use dynamic indices of groups of

findUpstream - is a recursive function that traces upstream using a provided table of linkages

findUpstream - is a recursive function that traces upstream using a provided table of linkages (upstream, downstream). Essentially, this script simply uses Matlab's 'ismember' function. I'm not sure

Calculate and plot graph divided edge bundle pathways for directional network graphs

property of the diagraph object:```matlab[~,loc]=ismember(G.Nodes.Name,id);G.Nodes=[G.Nodestable(x(loc)',y(loc)','variablenames',{'x','y'})];disp('G Nodes table:');G.Nodesdisp('G Edges

This is an improved version of of a previous skin lesion segmentation algorithm that I developed.

(Novel Method)BW1 = edge(edge(BW,'canny'), 'canny');%% Post-ProcessingBW3 = imclearborder(BW1);CC = bwconncomp(BW3);S = regionprops(CC, 'Area');L = labelmatrix(CC);BW4 = ismember(L, find([S.Area] &gt

App to explore Integrated Assessment Model results

e.filterRuns('model','GCAM','scenario','immediate','strict',false); e.RunList(ismember(e.RunList.run_id,runs),1:8)## Working with the IAM Timeseries### Plotting DataA stack of IAMTimeseries objects can be plot in two main ways: line and bar plots. All plotting

The Waveform Suite is now developed as part of the geoscience community codes, linked below.

SeisLab 3.01

Version 1.5.0.0

by Eike Rietsch

Release 10.0301 of a collection of functions for analysis/display of seismic and well-log data.

Low-Rank and Sparse Tools for Background Modeling and Subtraction in Videos

FPS_Sample

Version 1.0.0

by Hernia Baby

How to create FPS by MATLAB

]); [~,I] = sort(tmp(:,4)); tmp = tmp(I,:); xi = tmp(:,1); yi = tmp(:,2); idx2 = ismember(dummy,tmp(:,4)); Wallx = (1:height(p2))'; Wally = nan(height(p2),1

Calculate decimal representation from a 32-digit (single precision) binary number according to specification of IEEE754.

% the final decimal value.% - Supplemented by the following checks:% ~ischar(hexString): Checks if hexString is not a character array.% ~all(ismember(hexString, '0123456789abcdefABCDEF')): Checks if

KymoRod

Version 0.12.2

by David Legland

Matlab Graphical Interface for the study of hypocotyl growth

This script retrieves all toolboxes used in each script in the project folder. Creates a neat report for all the scripts local/globally.

isempty(fileList{p}); continue; end mFiles = dir(fullfile(fileList{p}, '*.m')); for k = 1:numel(mFiles) name = mFiles(k).name; if ~ismember(name, ignoreFiles) filesArray{end+1,1} =

This function calculates the Color (C) score for ABCD calculation of skin lesions.

imclearborder(BW1);CC = bwconncomp(BW3);S = regionprops(CC, 'Area');L = labelmatrix(CC);BW4 = ismember(L, find([S.Area] >= 100));BW51 = imfill(BW4,'holes');BW5 = imcomplement(BW51)% overlay with a green outer maskout

bfilereader

Version 1.1

by Ive J

bfilereader: Efficient processing of big delimited files in MATLAB

, numel(ds.SelectedFormats)); % to avoid conversion to double errords.SelectedFormats(ismember(ds.SelectedVariableNames, filterCol)) = {'%f'};tt = tall(ds);idx = ismember(tt.(patternCol), "MARC1") & tt.(filterCol) &gt

Fast Gaussian Process Regression (GPR) interpolation of small and large grain boundary property datasets in a 5 degree-of-freedom sense.

(deprecated)intersect_facet.mFind intersection of ray with facet using barycentric coordinates.intersect_facet_test.mintersect facet testismembc_test.mismembc vs. ismember testknninterp.mcompute linear interpolation using hyperplane

기상 및 지형 데이터를 기반으로 산불 전이 확률을 예측하는 머신러닝 기반 시스템입니다.

라벨 파일로부터 학습/테스트용 `grid_id` 추출### 🔹 3. 순서 유지하며 인덱싱- `ismember`를 이용해 `grid_id` 기준으로 행 번호(`index`)를 추출- `cfis_*_label.csv`에 있는 순서 그대로 정렬됨### 🔹 4. 유효하지 않은 ID 제거- 해당 `grid_id`가 `input_data`에 없을 경우 제외

1. 사전 준비 - 이미지가 저장된 파일 데이터 2. 데이터 증강 및 전처리

', true, ... 'LabelSource', 'foldernames');% ↓↓ 선택 사항: 불량 클래스를 하나로 통합하고 싶을 경우 사용 ↓↓% defectiveClasses = ["bent", "flip", "scratch", "color"];% imds.Labels(ismember(imds.Labels, defectiveClasses)) =

filterN

Version 1.0.0

by David Young

Non-linear filtering of N-dimensional arrays. A function is applied, convolution style, to sets of elements defined by a mask.

Freely generate data, identify models, and visualize results using over 50 (physics-informed) data-driven approaches.

Generate unstructured meshes for general two-dimensional geometries.

Generate finite element mesh based on 2D or 3D multi-phase image. For image-based finite element analysis.

SeisLab 3.02

Version 3.2.0.0

by Eike Rietsch

Release 15.09.21 of a collection of functions for analysis/display of seismic and well-log data.

This submission provides a focused entry point into Simscape Electrical for power systems engineers.

EEGLAB

Version 2024.0

by Arnaud Delorme

A toolbox for processing electrophysiological data