Browse Source

add sample data and process script

git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@6331 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/zoom-1.0
jim 16 years ago
parent
commit
3cc41727e1
2 changed files with 1008 additions and 0 deletions
  1. +1000
    -0
      pc/data
  2. +8
    -0
      pc/process.m

+ 1000
- 0
pc/data
File diff suppressed because it is too large
View File


+ 8
- 0
pc/process.m View File

@@ -0,0 +1,8 @@
load("data");
x = -(data(:,1) - mean(data(:,1)));
y = data(:,2) - mean(data(:,2));
t = [ 1 : 133 ];
z = x + y;
v = 275*ones(1,length(t));
plot(t, x(1:length(t)), t, y(1:length(t)), t, z(1:length(t)), t, v, 'g', t, -v, 'g');
grid on;

Loading…
Cancel
Save