Dimanche 7 Mars 2010
Par jc jc le dimanche, mars 7 2010, 14:50 - Lien permanent
J-4 avant IROS-Taiwan donc boulot au lab tout ce weekend....
une astuce de programmation pour Matlab (oui, c'est geek):
clear my_list;
for k=1:5
my_list(k).weight=rand;
my_list(k).age=rand;
end
mean(my_list.age)
et aussi mean(my_list(1:3).age) pour seulement les 3 premiers elements
ne marche pas avec les cell list (i.e. my_list{k}.weight en accolade)
Lien: en tout cas, c'est toujours la faute des asiatiques^^ hehe
http://envoye-special.france2.fr/index-fr.php?page=reportage-bonus&id_article=2102