create_demo.m
来自「Prony算法工具箱。Prony方法是用一组指数项的线性组合来拟和等间距采样数据」· M 代码 · 共 17 行
M
17 行
close all;
clear all;
t=0:0.0005:0.1;
f1=4*exp(-100*t).*sin(2*pi*t*400);
f2=2*exp(-20*t).*sin(2*pi*t*200);
f3=1*exp(-50*t).*sin(2*pi*t*100);
% figure,plot(t,y);
% n1 = sin(2*pi*150*t);
% n2= 6*sin(2*pi*300*t);
% y1 = f1+f2+f3+n1+n2;
% figure,plot(t,y1);
n=2*randn(1,201);
y2=f1+f2+f3+n;
plot(t,y2);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?