aboutsummaryrefslogtreecommitdiff
path: root/median_n.pd
diff options
context:
space:
mode:
Diffstat (limited to 'median_n.pd')
-rw-r--r--median_n.pd30
1 files changed, 30 insertions, 0 deletions
diff --git a/median_n.pd b/median_n.pd
new file mode 100644
index 0000000..635c204
--- /dev/null
+++ b/median_n.pd
@@ -0,0 +1,30 @@
+#N canvas 609 51 652 617 10;
+#X obj 88 37 inlet;
+#X obj 254 115 f \$1;
+#X obj 117 321 list split 5;
+#X obj 159 490 list split 1;
+#X obj 159 550 outlet;
+#X obj 255 85 loadbang;
+#X obj 342 86 inlet;
+#X obj 127 461 list split;
+#X obj 126 371 sort;
+#X obj 117 237 list append;
+#X obj 290 316 expr rint(($f1+1)/2)-1;
+#X text 329 585 )c( Alexandre Quessy 2006;
+#X text 203 59 arg/ inlet 2 : Number of values in the sample set of
+data.;
+#X text 86 12 inlet 1 : float;
+#X text 214 547 median;
+#X connect 0 0 9 0;
+#X connect 1 0 2 1;
+#X connect 1 0 10 0;
+#X connect 2 0 8 0;
+#X connect 2 0 9 1;
+#X connect 2 2 9 1;
+#X connect 3 0 4 0;
+#X connect 5 0 1 0;
+#X connect 6 0 1 0;
+#X connect 7 1 3 0;
+#X connect 8 0 7 0;
+#X connect 9 0 2 0;
+#X connect 10 0 7 1;