-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetWindowName.m
42 lines (36 loc) · 1.13 KB
/
getWindowName.m
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
% FILE: getWindowName.m
%
% FUNCTION: getWindowName
%
% CALL: [w, titles] = getWindowName()
%
% Returns the standard window names and titles for frequency response
%
% OUTPUTS:
% w - 9x1 cell array with all window names
% titles - 9x1 cell array with titles for frequency response
%
% Author: Leonard-Gabriel Necula
% Created: December 24 2020
% Updated: January 18 2021
function [w, titles] = getWindowName()
w = cell(9,1);
w{1} = 'boxcar';
w{2} = 'triang';
w{3} = 'blackman';
w{4} = 'chebwin';
w{5} = 'hamming';
w{6} = 'hanning';
w{7} = 'kaiser';
w{8} = 'lanczos';
w{9} = 'tukeywin';
titles = {'Boxcar Window Frequency response',
'Triangle Window Frequency response',
'Blackman Window Frequency response',
'Chebyshev Window Frequency response',
'Hamming Window Frequency response',
'Hanning Window Frequency response',
'Kaiser Window Frequency response',
'Lanczos Window Frequency response',
'Tukey Window Frequency response'};
end