Here's a simple program to make an animation of a moving balloon in Matlab. I used a jpg image of a balloon from google.
im = imread('balloon.jpg'); % read in image file
im = flipdim(flipdim(im,1),2); % invert the image or it will display upside down
s = size(im);
fig = figure();
xDim = 10*s(1); % set the x dimension of the figure to 10 times the size of the image
yDim = 10*s(2); % same for y
axis([0,xDim,0,yDim])
v = 100; % the distance moved by the image each time step
for d = 1:v:1000
x = round(xDim/2).*ones(1,s(1));
y = d:(d+s(2));
image(x,y,im)
axis([0,xDim,0,yDim])
set(gca,'xaxislocation','bottom','yaxislocation','left','xdir','normal','ydir','normal')
pause(1) % pause after displaying the image
end
To make the balloon move faster, you could either increase v, or decrease the pause time. Hopefully, you can incorporate that into the rest of your program.