From: Utsav Kr.goyal on 20 Apr 2010 04:15 I want to animate the motion of the nozzle of a rocket using matlab. it would be basically a gimballing motion. the problem has 2 parts 1) an animation from the back-view of the nozzle. Think like this ...if i have a pen(laser light) along the axis of the nozzle with tip pointing towards the exit...now i put circular cardboard to cover the end....then the pen will make a dot at the cardboard at any point of time....now on gimballing (moving the nozzle) a plot will be formed....so i have to show that plotting. I can make a polar plot...but successively (something like a COMET in matlab)how to show the movement of that point on the card board.....do we anything like comet(polar) or polarcomet???? 2) have to animate the conical motion of a rocket....so that it moves in yaw, roll and pitch plane all at the same time... I have the table of movement in t,x,y so that at any time t i can get the coordinates of the point as x,y Help needed ASAP !! thnx
From: ImageAnalyst on 20 Apr 2010 06:20 Can you just make up a movie file? The help describes how to make avi files, etc. You can then play the videos inside an axes.
From: Utsav Kr.goyal on 20 Apr 2010 06:47 hi FOR FIRST PART... suppose my file is point.dat having columns time, x axis and y axis I tried something like this....but it is not working.... {{{ load('point.dat') x=point(1,2); y=point(1,3); hold on; h=polar(cart2pol(x,y),'g.'); set(h,'erasemode','none'); grid on; for i=2:length(point) [x y]=cart2pol(point(i,2),point(i,3)); set(h,XData,x,YData,y); end }}} FOR PART TWO I GOT NO CLUE>>>>IS IT EVEN POSSIBLE WITH MATLAB>>>OR WILL HAVE TO USE SOME ANIMATION SOFTWARE LIKE MAYA-3D OR SOMETHING Thanx for responding.... ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <fd435e31-7f31-4eba-b475-5413940b5388(a)a9g2000vbb.googlegroups.com>... > Can you just make up a movie file? The help describes how to make avi > files, etc. You can then play the videos inside an axes.
|
Pages: 1 Prev: figure / axes: ticks at the bottom/left side only Next: Harris Corners map |