Browse code

moved helpercode to private

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

Christoph Budziszewski authored on07/01/2009 09:24:55
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,12 +0,0 @@
1
-function sortedList = sortedAdd(element, list)
2
-    if(isempty(list))
3
-        sortedList = element;
4
-        return;
5
-    end
6
-    head = list(1);
7
-    if element.id < head.id
8
-        sortedList = [element list];
9
-    else 
10
-        sortedList = [head sortedAdd(element, list(2:length(list)))];
11
-    end
12
-end
13 0
\ No newline at end of file
Browse code

SVMCrossVal toolbox init

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

Christoph Budziszewski authored on17/12/2008 13:45:29
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,12 @@
1
+function sortedList = sortedAdd(element, list)
2
+    if(isempty(list))
3
+        sortedList = element;
4
+        return;
5
+    end
6
+    head = list(1);
7
+    if element.id < head.id
8
+        sortedList = [element list];
9
+    else 
10
+        sortedList = [head sortedAdd(element, list(2:length(list)))];
11
+    end
12
+end
0 13
\ No newline at end of file