speech.m
来自「使用Matlab实现了FIR与IIR滤波器」· M 代码 · 共 20 行
M
20 行
function [ output_args ] = Untitled8( input_args )%UNTITLED8 Summary of this function goes here% Detailed explanation goes here[y,ft,bits]=wavread('hello.wav');L=length(y);disp('采样频率=');disp(ft);disp('播放比特数=');disp(bits);disp('采样点数=');disp(L);Y=fft(y);subplot(2,1,1);plot(y);xlabel('Time Index t');ylabel('Amplitude');title('时域图象');grid;subplot(2,1,2);plot(abs(Y));xlabel('Frequence Index w');ylabel('Amplitude');title('频域图象');grid;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?