Matlab_AR模型阶数确定(6)

发布时间:2021-06-08

附录MATLAB 代码

(1)

% AR model order clc;clear;

addpath(genpath(pwd),1);

data = load('Case2Damage0_1_0.01_0.001_40_10_150_123_1.mat'); dofy = [2,4,6,8,10,12,14,16];

x = zscore(data.acc(:,dofy)); order = [10:10:130]; for i = 1:length(order) for j =1:size(x,2)

m = ar(x(:,j),order(i),'yw'); am(i,j) = aic(m); end end

plot(order,am,'LineWidth',2,'Marker','*') xlabel('AR order'),ylabel('AIC')

legend('sensor 2','sensor 4','sensor 6','sensor 8',... 'sensor 10','sensor 12','sensor 14','sensor 16')

(2)

clc;clear;

addpath(genpath(pwd),1);

data = load('Case2Damage0_1_0.01_0.001_40_10_150_123_1.mat'); dofy = [2;4;6;8;10;12;14;16]; order = 80;

ts = zscore(data.acc(:,dofy)); k = 1;

name = {'sensor 2','sensor 4','sensor 6','sensor 8',... 'sensor 10','sensor 12','sensor 14','sensor 16'}; Ounit = repmat({'m/s^2'},length(dofy),1);

Matlab_AR模型阶数确定(6).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219