You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
399 B

using Statistics
using CSV
file_measure = "walk.csv"
measure = CSV.read(file_measure, header=false) |> Matrix{Float64}
deltas = measure[2:end,1] - measure[1:end-1,1]
print("Fréquence moyenne :\t")
print(1/(Statistics.mean(deltas)))
println(" Hz")
print("Delta moyen :\t\t")
print(Statistics.mean(deltas))
println(" s")
print("Écart type :\t\t")
print((Statistics.std(deltas)))
println(" s");