summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSuraj Yerramilli2016-05-11 03:15:21 +0530
committerSuraj Yerramilli2016-05-11 03:15:21 +0530
commit26bb45d20c294df12e85bc79fc5e3964bd4f491d (patch)
treec40f88434ad562d4c41fcf967c99ce248dd8aa14 /data
parenta923f9543b146a6d73fba654da7c57b96e755333 (diff)
downloadSysID-R-code-26bb45d20c294df12e85bc79fc5e3964bd4f491d.tar.gz
SysID-R-code-26bb45d20c294df12e85bc79fc5e3964bd4f491d.tar.bz2
SysID-R-code-26bb45d20c294df12e85bc79fc5e3964bd4f491d.zip
deleting redundancies
Diffstat (limited to 'data')
-rw-r--r--data/frfdata.m11
1 files changed, 0 insertions, 11 deletions
diff --git a/data/frfdata.m b/data/frfdata.m
deleted file mode 100644
index 176edd6..0000000
--- a/data/frfdata.m
+++ /dev/null
@@ -1,11 +0,0 @@
-% Generating an IDPOLY object of type ARMAX
-proc_armax = idpoly([1 -1.2 0.35],[0 0 2],[1 0.3],'Noisevariance',1);
-% Simulate the process with a PRBS input
-uk = idinput(2046,'prbs',[0 0.4],[-1 1]); % Full -length PRBS
-yktrue = sim(proc_armax ,uk); % Noise -free simulation
-% Adjusting the noise variance s.t. SNR = 10
-mult_fact = (1 + 0.3^2)*(1 + 0.35)/((1 + 0.35)*(1 - 0.35^2) - 1.2^2 + ...
-0.35*1.2^2);
-proc_armax.Noisevar = 0.1*var(yktrue)/mult_fact;
-% Simulate with noise
-yk = sim(proc_armax ,uk,simOptions('Addnoise',true)); \ No newline at end of file