createfigure.m
来自「语音信号端点检测方面的源程序」· M 代码 · 共 25 行
M
25 行
function createfigure(x1, y1)
%CREATEFIGURE(X1,Y1)
% X1: vector of x data
% Y1: vector of y data
% Auto-generated by MATLAB on 27-Feb-2006 14:47:52
%% Create figure
figure1 = figure(...
'Name','Sound',...
'NumberTitle','off',...
'PaperPosition',[0.6345 6.345 20.3 15.23],...
'PaperSize',[20.98 29.68]);
%% Create axes
axes1 = axes('Position',[0.1 0.22 0.576 0.68],'Parent',figure1);
title(axes1,'12880 Samples');
xlabel(axes1,'Time in seconds');
box(axes1,'on');
hold(axes1,'all');
%% Create plot
plot1 = plot(x1,y1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?