Welcome![Sign In][Sign Up]
Location:
Downloads Other resource
Title: correlate Download
  • Category:
  • Algorithm
  • Tags:
  • File Size:
  • 1.05kb
  • Update:
  • 2008-10-13
  • Downloads:
  • 0 Times
  • Uploaded by:
  • snowfield
 Description: Function: to prepare the calculation of correlation coefficient piano development language: ruby call: correlate (x, y) which, x, y for the need to calculate correlation vector call example: a = [3, 6, 9, 12, 15, 18, 21] b = [1.1, 2.1, 3.4, 4.8, 5.6] c = [1.9, 1.0, 3.9, 3.1, 6.9] c1 = correlate (a, a)# 1.0c2 = correlate (a, a.reverse )#-1.0c3 = correlate (b, c)# 0.8221970228puts c1#, c2, c3
 Downloaders recently: [More information of uploader snowfield]
 To Search:
File list (Check if you may need any files):

CodeBus www.codebus.net