Curve Fitting and Plotting

Jaroslav Hajek highegg at gmail.com
Mon Sep 29 04:36:49 CDT 2008


On Mon, Sep 29, 2008 at 10:46 AM, Kearan Mc Pherson
<kearan.mcpherson at gmail.com> wrote:
> HI
>
> i am capturing two video streams of a moving cricket ball. one view from the
> side and the other from above. after image processing i obtain the two
> data.dat files. from here i want to do curve fitting in order to achieve the
> data points/coordinates of the moving ball in 3D. after this i want to plot
> the graph in 3D
>

Unless you need to take perspective into account (in which case the
problem is far more complicated than just curve fitting), I think you
can just interpolate the obtained data along the frontal coordinate
using interp1 to a common sample, then merge. If you provide example
data along with a detailed description of what you need to do, we can
give you more detailed advice.

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Help-octave mailing list