Re: matlab help



On May 3, 6:47 pm, "Adnan " <kbmj8...@xxxxxxxxx> wrote:
How can I show an object on a xy coordinate movingfrom one
point to another, during simulation
---------------------------------------------------
Adnan:
Are you asking about how to *animate* a line moving from one point to
another in a plot? You can use polyfit and polyval to get
intermediate points and then put in a loop that goes from one point to
the next, erasing and plotting a line each time, with a slight delay
in between each plot of the line. This would give the appearance of
animating a slow movement of a line from one point to another.
Regards,
ImageAnalyst
.



Relevant Pages

  • Re: matlab help
    ... point to another, during simulation ... Are you asking about how to *animate* a line moving from one point to ... in between each plot of the line. ...
    (comp.soft-sys.matlab)
  • Re: Animal Yokocho
    ... > age 3 and up. ... > The plot: it's moving day for little Ami, ...
    (rec.arts.anime.misc)
  • Re: Regression with Negative Coefficient Problem
    ... I plot the graph. ... to use loglog and to use polyfit, even I look at MATLAB manual. ... John for the second time of the explaination. ...
    (comp.soft-sys.matlab)
  • Re: lsqcurvefit vs. polzfit
    ... to solve a problem that the non-iterative polyfit solves. ... The iterative method will only give you results that are ... % fit a function through the test data ... %plot results of fitfun ...
    (comp.soft-sys.matlab)
  • Re: Problem with using movie function
    ... I wish to use the movie function to animate my ... histogram but I had tried various way and the below code still cannot ... What is 'Y' in the call to PLOT? ...
    (comp.soft-sys.matlab)