%产生信号 [sig,iflaw]=fmpar(200,[1 0.4],[100 0.05],[200,0.4]); %显示 figure(1); plot(real(sig),'LineWidth',2); hold on; plot(imag(…
Legend 源代码
探索Legend技术,掌握其在电路设计与仿真中的独特优势。本页面汇集了4个精选资源,涵盖从基础入门到高级应用的全方位资料。无论是初学者还是经验丰富的工程师,都能在这里找到提升技能所需的知识点。通过深入学习Legend技术,您将能够更高效地完成复杂电路的设计与优化工作,特别适用于模…
clear all; N=64; n=1:N; %%%%%设置观测信号%%%%%%%% v=randn(1,N); u(n)=12*sin(2*pi*0.22*n); x(n)=u(n)+v(n); %%%%%%%求解陷波器参数%%%%%%%% …
function signal=fsignal() b=0.15; a=15; f=14.65; h=pi/2; s=zeros(101,1); y1=zeros(101,1); y=zeros(101,1); n=1; for t=0:0.…
x=0:9; x1=0:0.01:9; y=[0,1.8,2.1,0.9,0.2,-0.5,-0.2,-1.7,-0.9,-0.3]; y1=interp1(x,y,x1,'nearest'); y2=interp1(x,y,x1,'linear');…
X=1:15; Y=[12 34 56 78 99 123 165 198 243 277 353 345 303 288 275]; P1=polyfit(X,Y,3) %最高次数为3的拟合曲线 x1=1:0.1:15;…
x = 0.1*randn(1,500); % 生成信号 b = fir1(31,0.5); % 待检验的滤波器 d = filter(b,1,x); % 预测信号 w0 = zeros(1,32); % 初始化滤波器的系数…
%ex1109.m 绘制正态分布的概率密度图 clear all x=[-10:0.1:10]; f1=normpdf(x,0,1); %N(0,1)pdf f2=normpdf(x,0,2); %N(0,4)pdf f3=normpdf(x,1,…
% kalman-filter % kalman-filter.m, for the DSP(II) homework 001, pp.61 % using the Burg method to fit a Nth order autoregressive…
%exm084_4.m [t,x,y]=sim('exm084_4s',10); clf,hold on plot(t,y(:,1),'b') stairs(t,y(:,2),'r') stairs(t,y(:,3),'c:'),hold off …
%exm063_1.m clear t=(0:0.02:2)*pi; x=sin(t); y=cos(t); z=cos(2*t); plot3(x,y,z,'b-',x,y,z,'bd'), view([-82,58]),box on,le…