Home > Objects > @iData > intersect.m

# iFit/intersect

## PURPOSE

[ai,bi] = intersect(a, b) : computes object intersection area and values

## SYNOPSIS

function [ai,bi] = intersect(a, b)

## DESCRIPTION

``` [ai,bi] = intersect(a, b) : computes object intersection area and values

@iData/intersect function to intersect axes data sets
This function computes the common intersection between data sets
Resulting objects are returned, e.g. for performing further operations
ai = intersect(a) where 'a' is an object array computes intersection of all elements

input:  a: object or array (iData)
b: object (iData)
output: ai: object or array (iData)
bi: object or array (iData)
ex:     b=intersect(a, a);

Version: Nov. 26, 2018

## CROSS-REFERENCE INFORMATION

This function calls:
• end b = end(s,index,n) : end value for iData objects
• getaxis [val, lab] = getaxis(s, AxisIndex) : get iData axis value and label
• iData
• interp [b...] = interp(s, ...) : interpolate iData object
• intersect [ai,bi] = intersect(a, b) : computes object intersection area and values
• isequal c = isequal(a,b) : full numerical equality comparison of iData objects
• ndims d = ndims(s) : get the dimensionality of iData object
• zeros s = zeros(s,N,M,P,...) : initialize an iData array
This function is called by:
• corrcoef c = corrcoef(a,b) : correlation coefficient with an iData object
• intersect [ai,bi] = intersect(a, b) : computes object intersection area and values
• linspace v = linspace(a,b,n) : creates a linearly spaced vector of objects
• logspace v = logspace(a,b,n) : creates a logarithmically spaced vector of objects
• max [m,id] = max(a,b, dim) : computes the maximum value of iData object(s)
• min [m,id] = min(a,b, dim) : computes the maximum value of iData object(s)

Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1