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

• x_end<br />

Waveform end point.<br />

• with_x_at_max<br />

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

function returns a double-precision floating-point value. If with_x_at_min==1, then the<br />

function returns a vector of two elements. The first element is the X value at the maximum<br />

and the second element is the Y maximum value.<br />

Return Values<br />

Mathematical Function<br />

Returns the maximum of VAL1 to VALn.<br />

Array Function<br />

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

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

Waveform Function<br />

Returns the maximum value of a waveform. If the input waveform is complex, it returns the<br />

largest magnitude of its elements.<br />

Examples<br />

Waveform function example:<br />

set fmax = 0<br />

set vxymax[] = 0<br />

fmax = max(wave1)<br />

fprint(stdout, "the maximum Y value is: %.4e\n", fmax)<br />

vxymax = max(wave1, 10, 40, 1)<br />

fprint(stdout, "the maximum Y value between 10 and 40 is: %.4e and is<br />

reached at %.4e\n",<br />

+ vxymax[2], vxymax[1])<br />

Related Topics<br />

imin<br />

min<br />

Library of Functions for Tasks<br />

skew<br />

932<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!