From a0084443a1d6a9bebd29a0860c7ae83c22f08002 Mon Sep 17 00:00:00 2001 From: ttt Date: Thu, 12 Jul 2018 11:58:57 +0530 Subject: added data.m and comments in arx.sci --- arx.sci | 16 ++++++++++++++++ data.mat | Bin 0 -> 16060 bytes 2 files changed, 16 insertions(+) create mode 100644 data.mat diff --git a/arx.sci b/arx.sci index 0289cc8..3029c22 100644 --- a/arx.sci +++ b/arx.sci @@ -6,6 +6,22 @@ // Authors: Ashutosh,Harpreet,Inderpreet // Updated(12-6-16) + +// Examples +//loadmatfile("data.mat") +//sys = arx(data,[2,2,1]) +//sys = +// +// A(z) = 1 - 1.3469229 z^-1 + 0.7420890 z^-2 +// +// B(z) = 1.3300766 z^-1 - 0.5726208 z^-2 +// +// Sampling Time = 1 seconds +// +// MSE FPE FitPer AIC AICc nAIC BIC +// 7.4091 7.4388 49.9726 9689.1801 194.2693 2.0067 9711.5838 + + function sys = arx(varargin) [lhs , rhs] = argn(); if ( rhs < 2 ) then diff --git a/data.mat b/data.mat new file mode 100644 index 0000000..af9812d Binary files /dev/null and b/data.mat differ -- cgit