File: gauss.man

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (78 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.TH "gauss" 2 " June 6th 1997" "Fractales Group" "Scilab Function"
.so ../sci.an
.SH NAME
gauss -  Gaussian window
.sp
Author: Paulo Goncalves
.sp
Returns a Gaussian window
.sp
.sp
.SH Usage
.sp
.ft CR
.nf
Win = gauss(N[,A])
.fi 
.ec
.ft P
.sp
.SH Input parameters


.RS

.TP
o 
\fBN\fP :  Positive integer
Number of points defining the time support of the window

.TP
o 
\fBA\fP : Real positive scalar 
Attenuation in dB at the end of the window (10\(ha(-A)). Default value is \fIA\fP = 2.
.RE

.SH Output parameters


.RS

.TP
o 
\fBWin\fP : real vector \f(CR[\fP1,N\f(CR]\fP
Gaussian window in time.
.RE

.SH See also:
mexhat, morlet
.SH Example:
.sp
.ft CR
.nf
t = linspace(-1,1,128) ;
Win1 = gauss(128,2) ;
Win2 = gauss(128,5) ;
.fi 
.ec
.ft P
.sp
\fI Vizualisation - Matlab \fP
.sp
.ft CR
.nf
plot(t,win1,'b',t,win2,'r') ; 
legend('Gaussian window 1','Gaussian window 2') 
.fi 
.ec
.ft P
.sp
\fI Vizualisation - Scilab \fP
.sp
.ft CR
.nf
plot2d([t(:) t(:)],[Win1(:) Win2(:)],[17 19])
.fi 
.ec
.ft P
.sp