Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Signal Processing > filters > cheb1mag

cheb1mag

response of Chebyshev type 1 filter

Calling Sequence

[h2]=cheb1mag(n,omegac,epsilon,sample)

Arguments

n

integer : filter order

omegac

real : cut-off frequency

epsilon

real : ripple in pass band

sample

vector of frequencies where cheb1mag is evaluated

h2

Chebyshev I filter values at sample points

Description

Square magnitude response of a type 1 Chebyshev filter.

omegac=passband edge.

epsilonsuch that 1/(1+epsilon^2)=passband ripple.

samplevector of frequencies where the square magnitude is desired.

Examples

//Chebyshev; ripple in the passband
n=13;epsilon=0.2;omegac=3;samples=0:0.05:10;
h=cheb1mag(n,omegac,epsilon,samples);
plot2d(samples,h)
xtitle('','frequencies','magnitude')

See Also

  • buttmag — Power transmission of a Butterworth filter
Report an issue
<< casc filters cheb2mag >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:27:17 CEST 2015