Browse code

Classes must reside in Main Dir!

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@164 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on18/03/2009 14:58:00
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+function m = lm_getPSTEventMatrix(mapping)
2
+    m = [];
3
+    size(mapping.LabelToCondition.keySet)
4
+    for key = 1:size(mapping.LabelToCondition.keySet)
5
+        label = mapping.LabelToCondition.keySet.toArray;
6
+        label = label(key);
7
+        m = [m ; lm_getCondition(mapping,label)];
8
+    end
9
+end
0 10
\ No newline at end of file
Browse code

moved stuff, fixing plotDecode

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@151 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on16/03/2009 14:41:06
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,9 +0,0 @@
1
-function m = lm_getPSTEventMatrix(mapping)
2
-    m = [];
3
-    size(mapping.LabelToCondition.keySet)
4
-    for key = 1:size(mapping.LabelToCondition.keySet)
5
-        label = mapping.LabelToCondition.keySet.toArray;
6
-        label = label(key);
7
-        m = [m ; lm_getCondition(mapping,label)];
8
-    end
9
-end
10 0
\ No newline at end of file
Browse code

refactored LabelMap getter with lm prefix.

git-svn-id: https://svn.discofish.de/MATLAB/spmtoolbox/SVMCrossVal@144 83ab2cfd-5345-466c-8aeb-2b2739fb922d

Christoph Budziszewski authored on06/03/2009 12:49:18
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+function m = lm_getPSTEventMatrix(mapping)
2
+    m = [];
3
+    size(mapping.LabelToCondition.keySet)
4
+    for key = 1:size(mapping.LabelToCondition.keySet)
5
+        label = mapping.LabelToCondition.keySet.toArray;
6
+        label = label(key);
7
+        m = [m ; lm_getCondition(mapping,label)];
8
+    end
9
+end
0 10
\ No newline at end of file