function [xi, yi, zi] = racunanjePozicije(Vx, Vy, Vz, Ax, Ay, Az, x, y, z)

Vxi = Vx(length(Vx)) + Ax(length(Ax));

xi = x(length(x)) + Vxi;

Vyi = Vy(length(Vy)) + Ay(length(Ay));

yi = y(length(y)) + Vyi;

Vzi = Vz(length(Vz)) + Az(length(Az));

zi = z(length(z)) + Vzi;


return