10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Eldo Control Language<br />

Library of Functions for Tasks<br />

intersect<br />

Task function category: Functions Operating on Waveforms<br />

Returns a vector containing all of the intersection points of two waveforms. If the slopes are<br />

supplied, the result will be collected only when the waveforms have the specified slopes.<br />

Note<br />

Does not support complex waveforms (but it is possible to call it separately on the real part<br />

and the complex part or on the magnitude and phase of a complex waveform).<br />

Usage<br />

intersect(wf1, wf2)<br />

intersect(wf1, wf2, with_y)<br />

intersect(wf1, wf2, x_start, x_end)<br />

intersect(wf1, wf2, x_start, x_end, with_y)<br />

intersect(wf1, wf2, slope_wf1, slope_wf2)<br />

intersect(wf1, wf2, slope_wf1, slope_wf2x_start, x_end)<br />

intersect(wf1, wf2, slope_wf1, slope_wf2x_start, x_end, with_y)<br />

Arguments<br />

• wf1<br />

First waveform identifier.<br />

• wf2<br />

Second waveform identifier.<br />

• with_y<br />

Valid values for with_y are 0 and 1. If with_y==0 (default), then the function returns a<br />

vector. If with_y==1, then the function returns a matrix; its first line is a vector containing<br />

the X values of the intersection points and the second line is a vector containing the<br />

corresponding Y values.<br />

• x_start<br />

Waveform start point.<br />

• x_end<br />

Waveform end point.<br />

• slope_wf1, slope_wf2<br />

Valid values for slope_wf1 and slope_wf2 are: pos, neg, or either.<br />

• slope_wf2x_start<br />

Slope of second waveform at start point. Valid values are: pos, neg, or either.<br />

Eldo® User's Manual, 15.3 919

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!