1 function affich_telemetry(tableau)
\r
8 labels = { 't Couple moteur';'g Signal Gyro';'G Intégrale Gyro' ;'v Vitesse'; 'a Acceleration';'C position centre de gravité';'p position moteurs'};
\r
11 if length(tableau) ~=0
\r
13 taille = size(tableau);
\r
17 for graph = 1:taille(2)
\r
18 if reunir_graphs == 0
\r
19 subplot(taille(2), 1, graph);
\r
24 data = tableau(2:end,graph);
\r
29 titre = char(tableau(1,graph));
\r
30 for i=1:length(labels)
\r
31 if(max(strncmp(labels(i),char(tableau(1,graph)),1)))
\r
38 ' - max: ', num2str(max(data)) , ...
\r
39 ' min: ', num2str(min(data)) , ...
\r
40 ' avg: ', num2str(mean(data)) ));
\r
43 % histogramme sur la 4eme donnee
\r
44 data = tableau(2:end,1);
\r
47 %hist(data,length(data));
\r
52 clear graph taille data i
\r