www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/GuideAcceptParamsGenPlotsExample.m
%% Open and Run the Example % To open the example in GUIDE, click the *Open Script* button on this page. % To run the app, click the green *Run Figure* button at the top of the GUIDE window. % % <<../guidetimefreqplot.png>> % %% % Change the default values in the *f1* and *f2* fields to change the frequency for each % component sine wave. You can also change the three numbers (separated by colons) in the % *t* field. The first and last numbers specify the window of time to sample % the function. The middle number specifies the sampling rate. % % Press the *Plot* button to see the graph of the function in the frequency % and time domains. %