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 />

avg<br />

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

Returns the average value.<br />

Usage<br />

Array Function<br />

avg(array [, istart, istop])<br />

Waveform Function<br />

avg(wf)<br />

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

Arguments<br />

Array Function<br />

• array<br />

Array.<br />

• istart<br />

Optional. Array start index.<br />

• istop<br />

Optional. Array stop index.<br />

Waveform Function<br />

• wf<br />

Waveform identifier.<br />

• x_start<br />

Waveform start point.<br />

• x_end<br />

Waveform end point.<br />

Return Values<br />

Array Function<br />

Returns the average value of the elements of the array array. If istart and istop are specified, this<br />

function applies to the part of array beginning at index istart and ending at index istop.<br />

Waveform Function<br />

Returns the average value of a waveform which is computed as:<br />

874<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!