source2.m
来自「对MATLAB的函数进行的一个补充添加,你只要在MATLAB里面添加下就能使用了」· M 代码 · 共 22 行
M
22 行
% SOURCE SIGNAL 2%-------------------------------------------------------------------------------% s = source signal 2%-------------------------------------------------------------------------------
% Grenoble, December 2000
% This work has been partly funded by the European project BLIS (IST-1999-14190)
s2=sin((1:T)*(2*pi)/T);% vector : sine of the elements (1:T)*(2*pi)/T %s2=cos((1:T)*(2*pi)/T);% vector : cosine of the elements (1:T)*(2*pi)/T%s2=sawtooth(1:T); % vector : sawtooth wave (length T)%s2=sinc(1:T); % vector : sinc of the elements 1:T%s2=square(1:T); % vector : square wave (length T)% normalisations2=s2-mean(s2);s2=s2/std(s2);% plotssubplot(ay(5));plot(s2,'b','MarkerSize',2);title('source signal s2','FontSize',15);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?