📄 formant.m
字号:
function [P, F, I] = formant(y)
% calculate the PSD using Yule-Walker's method
order = 12;
P = pyulear(y,order,[]);
P = 10*log10(P); % convert to DB
F = 0:1/128:1;
[Pm,I] = pickmax(P);
I = I/128; % normalize the index
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -