91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

一個簡易的MATLAB鋼琴,主要是產生正弦波。并能將波形顯示出來

資源截圖

代碼片段和文件信息

function?varargout?=?piano(varargin)
%PIANO?M-file?for?piano.fig
%??????PIANO?by?itself?creates?a?new?PIANO?or?raises?the?existing
%??????singleton*.
%
%??????H?=?PIANO?returns?the?handle?to?a?new?PIANO?or?the?handle?to
%??????the?existing?singleton*.
%
%??????PIANO(‘Property‘‘Value‘...)?creates?a?new?PIANO?using?the
%??????given?property?value?pairs.?Unrecognized?properties?are?passed?via
%??????varargin?to?piano_OpeningFcn.??This?calling?syntax?produces?a
%??????warning?when?there?is?an?existing?singleton*.
%
%??????PIANO(‘CALLBACK‘)?and?PIANO(‘CALLBACK‘hobject...)?call?the
%??????local?function?named?CALLBACK?in?PIANO.M?with?the?given?input
%??????arguments.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES

%?Edit?the?above?text?to?modify?the?response?to?help?piano

%?Last?Modified?by?GUIDE?v2.5?13-Dec-2011?17:01:40

%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@piano_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@piano_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]?...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
???gui_State.gui_Callback?=?str2func(varargin{1});
end

if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT


%?---?Executes?just?before?piano?is?made?visible.
function?piano_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?varargin???unrecognized?PropertyName/PropertyValue?pairs?from?the
%????????????command?line?(see?VARARGIN)

%?Choose?default?command?line?output?for?piano
handles.output?=?hobject;

%?Update?handles?structure
guidata(hobject?handles);

%?UIWAIT?makes?piano?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);


%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?piano_OutputFcn(hobject?eventdata?handles)
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)

%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;


%?---?Executes?when?figure1?is?resized.
function?figure1_ResizeFcn(hobject?eventdata?handles)
%?hobject????handle?to?figure1?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)



function?edit_txt3_Callback(hobject?even

評論

共有 條評論