~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/signal/buttmag.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
buttmag           Scilab Group           Scilab Function            buttmag
2
 
NAME
3
 
   buttmag -  response of Butterworth filter
4
 
  
5
 
CALLING SEQUENCE
6
 
 [h]=buttmag(order,omegac,sample)
7
 
PARAMETERS
8
 
 order      : integer : filter order
9
 
            
10
 
 omegac     : real : cut-off frequency in Hertz
11
 
            
12
 
 sample     : vector of frequency where buttmag is evaluated
13
 
            
14
 
 h          : Butterworth filter values at sample points
15
 
            
16
 
DESCRIPTION
17
 
   squared magnitude response of a Butterworth filter omegac = cutoff
18
 
  frequency ; sample = sample of frequencies
19
 
  
20
 
EXAMPLE
21
 
 //squared magnitude response of Butterworth filter
22
 
 h=buttmag(13,300,1:1000);
23
 
 mag=20*log(h)'/log(10);
24
 
 plot2d((1:1000)',mag,[2],"011"," ",[0,-180,1000,20])
25
 
AUTHOR
26
 
   F. D.
27