Qu

ellipord

Builtin index · Signal processing

ellipord(wp, ws, rp, rs, fs)

Input: wp, ws, rp, rs, fs · Output: no output

What it is

Same arguments and record as buttord, for ellip(r.order, rp, rs, r.kind, r.wn, fs). Order from the elliptic degree equation K(k) K'(k1) / (K'(k) K(k1)) with k the passband-to-stopband edge ratio of the prototype and k1 = sqrt((10^(rp/10)-1)/(10^(rs/10)-1)); wn is the passband edge. The lowest order of the four families for the same specification.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
ellipord(wp, ws, rp, rs, fs)
wp —not documented yet
ws —not documented yet
rp —Same arguments and record as buttord, for ellip(r.order, rp, rs, r.kind, r.wn, fs).
rs —Same arguments and record as buttord, for ellip(r.order, rp, rs, r.kind, r.wn, fs).
fs —Same arguments and record as buttord, for ellip(r.order, rp, rs, r.kind, r.wn, fs).
not documented yetThe lowest order of the four families for the same specification.

Examples

No documentation example calls this form yet. The Signal processing chapter is where one belongs.

How it works

buttord(wp, ws, rp, rs, fs) / cheb1ord / cheb2ord / ellipord -- the lowest order of that family meeting a passband/stopband specification, and the frequency to design it with: a record {order, wn, kind} for butter(r.order, r.kind, r.wn, fs) and its siblings. The band shape is read from the edges (one each: low/high by which is lower; two each: band/stop by which pair is inside).

From the note above this builtin in the interpreter, where the reasoning was written down as it was built.