• Non ci sono risultati.

Appendice F Il file “creamatricevel”

N/A
N/A
Protected

Academic year: 2021

Condividi "Appendice F Il file “creamatricevel”"

Copied!
2
0
0

Testo completo

(1)

Appendici

Appendice F

Il file “creamatricevel” mv = zeros(7,6); save VELOCITA mv k = 1; for g = 1.6:0.5:4.1 for h = 1:7 test = strcat('test',num2str(h),'_soggetto7_',num2str(g),'.txt') save INIZ1 test k h g

close all clear all clc load INIZ1 data = importdata(test); X = data(:,1); Y = data(:,2); Z = data(:,3); Tx = data(:,4); Ty = data(:,5); Tz = data(:,6); [B,A] = butter(8, 0.1); X_f = filtfilt(B,A,X); Y_f = filtfilt(B,A,Y); Z_f = filtfilt(B,A,Z); Tx_f = filtfilt(B,A,Tx); Ty_f = filtfilt(B,A,Ty); Tz_f = filtfilt(B,A,Tz); [D,C] = butter(3, 0.002); posY = (Tx_f+(Y_f*7.5))./Z_f; posY_f = filtfilt(D,C,posY); posX = (Ty_f-(X_f*7.5))./Z_f; posX_f = filtfilt(D,C,posX); if k == 1 posX_offset = posX_f-19; else posX_offset = posX_f+19; end posX_offset = posX_offset(501:length(posX_offset)-500); posY_f = posY_f(501:length(posY_f)-500); for i = 1:length(posX_offset)-1 vx(i) = (posX_offset(i+1)-posX_offset(i))/0.0002; vy(i) = (posY_f(i+1)-posY_f(i))/0.0002; vm(i) = sqrt(vx(i)^2+vy(i)^2); end; 89

(2)

Appendici meanvm = mean(vm); load VELOCITA mv(h,k) = meanvm; save VELOCITA mv end; k = k+1; end; delete INIZ1.mat Il file “elabmatricevel.m” close all clear all clc load VELOCITA for i = 1:6 MeanVEL(i) = mean(mv(:,i)); DevVEL(i) = std(mv(:,i)); end mMeanVEL = mean(MeanVEL)

save VELOCITA MeanVEL DevVEL mMeanVEL -append

Riferimenti

Documenti correlati

It is thus clear that the Court differentiates between a process of risk assessment, for which certain procedural conditions are envisaged in the case-law, and

La seconda parte del capitolo tratta il passaggio, avvenuto nel 1942, dalla gestione degli Immobili a quella del neonato Ente Teatrale Italiano (ETI), in seguito alla quale il

That is, given the order in which players are selected by nature, it may happen that a player betrays one of her friends to set up a friendship relation with a third one whose degree

Available Open Access on Cadmus, European University Institute Research Repository.... European University

The existing scholarship offers important insights into efforts to “police humanitarianism” (Carrera, Vosyliute, Allsopp, and Valsamis 2019 ), criminalize migration and solidarity

The liberal international order restricts the liberties enjoyed by the fundamental Westphalian sovereignty principles, national affairs may be a need to be externalized and

Differentiated integration, EMU, Defence, enhanced cooperation, multi-speed Europe, Court of Justice of the European Union, EU legal system...

Starting from some premises on the hybridism of ruins, based on Simmel's essay “The Ruin”, in which he defines this element as a hybrid suspended between art and nature, I propose