nass-simscape/init_perturbations.m

16 lines
300 B
Mathematica
Raw Normal View History

2018-06-16 22:57:54 +02:00
%%
clear; close all; clc;
%%
s = tf('s');
%% Ground Motion
Wxg = 1e-5*(s/(2e2)^(1/3) + 2*pi*0.1)^3/(s + 2*pi*0.1)^3;
Wxg = Wxg*(s/(0.5e6)^(1/3) + 2*pi*10)^3/(s + 2*pi*10)^3;
Wxg = Wxg/(1+s/(2*pi*2000));
%% Sensor Noise
Wn = tf(1e-12);
%% Save Weights
save('./mat/perturbations.mat', 'Wxg', 'Wn');