max v2; #N vpatcher 133 45 777 558; #P origin 0 11; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 49 47 61 9109513 Test manuel; #P comment 432 298 194 9109513 Les 4 plus anciens classes du petit au grand; #P outlet 343 417 15 0; #P flonum 3 282 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 3 259 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 3 236 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 3 214 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 3 192 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P flonum 303 417 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P newex 3 141 27 9109513 f; #P newex 303 388 61 9109513 minimum 0.; #P newex 228 357 64 9109513 maximum 0.; #P newex 299 329 61 9109513 minimum 0.; #P newex 365 329 61 9109513 minimum 0.; #P newex 107 144 27 9109513 f; #P newex 365 296 64 9109513 maximum 0.; #P newex 299 297 64 9109513 maximum 0.; #P newex 365 256 64 9109513 maximum 0.; #P newex 228 256 61 9109513 minimum 0.; #P newex 419 138 27 9109513 f; #P newex 315 144 27 9109513 f; #P newex 211 144 27 9109513 f; #P newex 299 219 64 9109513 maximum 0.; #P newex 299 256 61 9109513 minimum 0.; #P newex 365 186 64 9109513 maximum 0.; #P newex 299 187 61 9109513 minimum 0.; #P newex 3 107 427 9109513 t f b b b b; #P flonum 62 23 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0; #P message 24 23 29 9109513 bang; #P newex 3 78 27 9109513 f; #P inlet 3 23 15 0; #P window linecount 2; #P comment 433 182 169 9109513 On classe les 2 plus vieux nombre du plus petit au plus grand.; #P window setfont "Sans Serif" 14.; #P window linecount 3; #P comment 1 437 612 9109518 Principe du median 5 : classer les 5 dernieres mesures de la plus petite valeur a la plus grande valeur et renvoyer la 3 ieme valeur (appelee mediane) de la liste (dans cette liste classee de 5 elements \, 2 sont plus petits que la mediane et 2 sont plus grands).; #P window setfont "Sans Serif" 9.; #P window linecount 1; #P comment 432 258 193 9109513 Les 3 plus anciens classes du petit au grand; #P window linecount 2; #P comment 432 327 178 9109513 Les 2 extremes n'ont pas d'influence donc on ne les calcule pas.; #P comment 432 376 182 9109513 Il reste a tester la mesure la plus recente pour garder au final la valeur du milieu.; #P window setfont "Sans Serif" 24.; #P window linecount 1; #P comment 180 36 135 9109528 MEDIAN 5; #B color 10; #P connect 9 0 7 0; #P connect 8 0 7 0; #P connect 6 0 7 0; #P connect 7 0 10 0; #P connect 10 0 27 0; #P connect 27 0 29 0; #P connect 22 0 30 0; #P connect 15 0 31 0; #P connect 16 0 32 0; #P connect 17 0 33 0; #P connect 10 1 22 0; #P connect 27 0 22 1; #P connect 10 2 15 0; #P connect 22 0 15 1; #P connect 15 0 18 0; #P connect 27 0 25 0; #P connect 11 0 18 1; #P connect 24 0 25 1; #P connect 16 0 11 0; #P connect 15 0 14 0; #P connect 14 0 13 0; #P connect 22 0 20 0; #P connect 20 0 24 0; #P connect 25 0 26 0; #P connect 26 0 28 0; #P connect 10 3 16 0; #P connect 15 0 16 1; #P connect 26 0 34 0; #P connect 17 0 11 1; #P connect 12 0 13 1; #P connect 13 0 24 1; #P connect 11 0 14 1; #P connect 18 0 20 1; #P connect 23 0 26 1; #P connect 16 0 12 0; #P connect 14 0 19 0; #P connect 20 0 21 0; #P connect 21 0 23 0; #P connect 19 0 23 1; #P connect 10 4 17 0; #P connect 17 0 12 1; #P connect 12 0 19 1; #P connect 13 0 21 1; #P connect 16 0 17 1; #P pop;