summaryrefslogtreecommitdiff
path: root/arx.sci
diff options
context:
space:
mode:
authorttt2018-07-12 11:58:57 +0530
committerttt2018-07-12 11:58:57 +0530
commita0084443a1d6a9bebd29a0860c7ae83c22f08002 (patch)
treecbb49f8ca52710892c3cab830278e5216a0f9fb4 /arx.sci
parente5e316e1958e27696d7670e2492992d34ff38b68 (diff)
downloadFOSSEE-System-Identification-Toolbox-a0084443a1d6a9bebd29a0860c7ae83c22f08002.tar.gz
FOSSEE-System-Identification-Toolbox-a0084443a1d6a9bebd29a0860c7ae83c22f08002.tar.bz2
FOSSEE-System-Identification-Toolbox-a0084443a1d6a9bebd29a0860c7ae83c22f08002.zip
added data.m and comments in arx.sci
Diffstat (limited to 'arx.sci')
-rw-r--r--arx.sci16
1 files changed, 16 insertions, 0 deletions
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