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

📄 cal.asv

📁 kalman滤波
💻 ASV
字号:
clear all;

% Calculate responses of a 3-story shear building subject to White Noise Excitation on Floor 
n=3;

%Input data

% Integrates ordinary differential equations y' = f(t,y) by Runge-Kutta, medium order method.
y0=zeros(2*n,1);   % initial conditions
OPTIONS = [];
[t,y]=ode45(@linear3dof,te,y0,OPTIONS,n,duration);

% Acceleration response
ll=length(y);
for it=1:ll 
   xx(:,it)=linear3dof(t(it),y(it,:)',n,duration);
end

xt=xx';
acc=xt(:,n+1:2*n);

save response.mat acc
save xstate.mat y

    

⌨️ 快捷键说明

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