1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Double integration in Matlab on given data set

  1. Aug 21, 2012 #1
    1. The problem statement, all variables and given/known data


    I have a problem

    I have a strand (pathway) defined in Matlab as X and Y and s where X and Y are the coordinates and s is an indexing (1, 2, 3, .....), and I can have this X and Y in high resultion, namely very small distance between them

    I need to achieve this double integral

    0 L0 L < ( r (s1) - r (s2) )2 > ds1 ds2

    where L is known (the length of the strand) and r is the representation of the curve, namely a contour function of the strand !

    I have no idea how to achieve such an integral !

    hope you can help me


    2. Relevant equations

    3. The attempt at a solution

    1- I thought about turning this integral into a sum ! but I am not sure how to do that

    2- I thought also about extrapolating a contour function r (s) from my X and Y data set but still I have very different shapes of strands everynow and then which look just like worms !
    Last edited: Aug 21, 2012
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted