plot_cepstrum.m

来自「The MATLAB and Praat code files for perf」· M 代码 · 共 13 行

M
13
字号
function plot_cepstrum(sig)
%PLOT_CEPSTRUM Plots the cepstrum of the signal.
%
% PLOT_CEPSTRUM(sig) Computes the cepstrum of sig and plots it up to 10000.
%
% By: Matthew Hutchinson
% Created: 12/09/04
% Rice University
% Elec 301 Project

cepstrum = abs(ifft(log(abs(fft(sig)))));
figure;
plot([1:1:10000],cepstrum(1:10000));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?