⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 窗口移动多项式平滑演示程序.txt

📁 窗口移动多项式平滑演示程序。。。二维数据模拟程序
💻 TXT
字号:
%singnal simulation 
: x=-3:0.1:2; 
: y=x.^2+x-1+1.5*rand(1,length(x)); 
: width=7;degree=2; 
: %smooth with SG method 
: ynew=smooth(y,width,'sgolay',degree); 
: ................... 



%singnal simulation 
x=-3:0.1:2; 
y=x.^2+x-1+1.5*rand(1,length(x)); 
width=7;degree=2; 
%smooth with SG method 
ynew=smooth(y,width,'sgolay',degree); 
% plot 
figure;plot(x,y,'b+');hold on;plot(x,ynew,'r'); 



%%% 拷贝以上内容,在matlab下运行即可%%% 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -