cheb1ord
Builtin index · Signal processing
cheb1ord(wp, ws, rp, rs, fs)
Input: wp, ws, rp, rs, fs · Output: no output
What it is
Same arguments and record as buttord, for cheby1(r.order, rp, r.kind, r.wn, fs). Order formula acosh(sqrt((10^(rs/10)-1)/(10^(rp/10)-1))) / acosh(k); wn is the passband edge (for a bandstop, the edges after the same adjustment as in buttord).
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
cheb1ord(wp, ws, rp, rs, fs) | wp —not documented yetws —not documented yetrp —Same arguments and record as buttord, for cheby1(r.order, rp, r.kind, r.wn, fs).rs —Order formula acosh(sqrt((10^(rs/10)-1)/(10^(rp/10)-1))) / acosh(k).fs —Same arguments and record as buttord, for cheby1(r.order, rp, r.kind, r.wn, fs). | not documented yet | — |
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.