10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Eldo Control Language<br />

Library of Functions for Tasks<br />

xofmax<br />

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

Returns a vector containing all the X values at the maximum (or maxima) of a waveform.<br />

Usage<br />

xofmin(wf)<br />

xofmin(wf, x_start, x_end)<br />

Arguments<br />

• wf<br />

Waveform identifier.<br />

• x_start<br />

Waveform start point.<br />

• x_end<br />

Waveform end point.<br />

Description<br />

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

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

Examples<br />

set i = 0<br />

set xres = xofmax(w1, 10, 40)<br />

fprint(stdout, "X values where w1 is maximum between 10 and 40 are:")<br />

for(i=xres.imin; i

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

Saved successfully!

Ooh no, something went wrong!