I=eye(m); P=1*I; lamda=0.05;% 遗忘因子 w(1:m,1)=0; for k=2:N L=P*S(:,k)/(lamda+(S(:,k))'*P*S(:,k)); d=s(1,k);% 期待响应信号 …
转速信号 源代码
汇集 转速信号 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
clear all;close all; m=8 ;% 阵元 p=4; % 信号数 N=1000;%迭代 A=zeros(m,p); % 阵列流型 theta=[30 0 -45 60]*pi/180;% DOA 30为期望信号方向 j=sq…
% signalgui:This Gui shows the main concepts of 'Signals and Systems' figure('position',[100 100 600 400],'name','信号与系统教学演示系统'); …
% signalgui:This Gui shows the main concepts of 'Signals and Systems' figure('position',[100 100 600 400],'name','信号与系统教学演示系统'); …
%Samp2_9 clf %清除绘图板 n=[-10:10]; %给出序号序列 alpha=-0.1+0.3*j; %给出指数序列 x=exp(alpha*n); %给出复指数信号 Real…
function [y,n] = sigmult(x1,n1,x2,n2) % 执行信号相乘:y(n) = x1(n)*x2(n) % 调用方式:[y,n] = sigmult(x1,n1,x2,n2) % y:输出的信号的乘积序列,序列号为n, 包括…
%Samp10_1 t=0:0.01:1.49; %时间信号,采样间隔为0.01s sig=sin(2*pi*45*t); %原始信号 echo=0.5*[zeros(1,20),sig(1:length(t)-20)]; %在信号前面补加2…
%Samp3_1_2 if(mod(N,2)~=1)a(m)=a(m)/2; end %此时b(m)为零,a(m)减半 for ii=0:N-1 xx(ii+1)=a(1)/2; for k=1:m-1 xx(ii…
%Samp9_3 clf;N=1000; Fs=500; %数据长度和采样频率 n=0:N-1;t=n/Fs; %时间序列 Lag=200; %最大延迟单位 x=sin(2*pi*10*t); %周期信号x y=0.5*…
%Samp9_4 clf N=1000;n=0:N-1;Fs=500;t=n/Fs; %数据个数采样频率和时间序列 Lag=200; %最大延迟单位数 x1=90*sinc(pi*(n-0.1*Fs)); %第一个原始信号,延迟0.1s y1…