function BR_vis_track3(xt,et,k)
%

num_pts = length(xt(:,1));

% Generate 2D points
n = length(xt(1,:));
x = zeros(num_pts,1);
y = zeros(num_pts,1);
for p = 1:num_pts
    for d = 1:n
        x(p) = x(p) + xt(p,d)*cos((d-1)*pi/n);
        y(p) = y(p) + xt(p,d)*sin((d-1)*pi/n);
    end
end

plot3(x(1),y(1),et(1),'r*');
hold on
plot3(x(end),y(end),et(end),'g*');
for p = 1:k:num_pts
    plot3([x(p),x(p)],[y(p),y(p)],[0,et(p)],'k');
end
