CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Join Date
    Jun 2012
    Posts
    2

    Re: Curve Comparison Algorithm?

    real or counterfeit though. By running a statistical analysis on all the data,


  2. #17
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: Curve Comparison Algorithm?

    Quote Originally Posted by Bre45Web View Post
    real or counterfeit though. By running a statistical analysis on all the data,

    Advertising spam! Now reported.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

  3. #18
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,042

    Re: Curve Comparison Algorithm?

    First of all, you should have started a new thread as you are not actually responding to anything said in this thread.
    Quote Originally Posted by Learner9 View Post
    If the second data set provided a shape that was very similar to that of the sine wave it would have a relationship of “1” and if the second data set was a straight line it would have a relationship of “0”.
    I think you need to think this through a bit better. On the interval [-epsilon, epsilon] for a small positive epsilon, a sine approximates a line. That means that your score will not be able to distinguish something that resembles a sine and something that does not.
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured