gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-37/mcc_test.m

    function y=mcc_test(t)
t=0:0.001:t;
y=sin(2*pi*50*t);
plot(y);