We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Calculating variance
Page Index Toggle Pages: 1
Calculating variance (Read 502 times)
Calculating variance
Feb 11th, 2010, 12:52pm
 
Im quite a beginner at programming in Processing.

Is there a way to calculate the variance of a vector, kind of like what the command "var" does in Matlab.

Im using this in a Hough Transform algorithm, so if anybody have a clue to that there is already a hough transform algorithm, dont be shy about it =)
Re: Calculating variance
Reply #1 - Feb 11th, 2010, 11:40pm
 
Could you explain what you mean by the "variance of a vector". Afaik you can only calculate the variance of a set of vectors.
Re: Calculating variance
Reply #2 - Feb 12th, 2010, 5:10am
 
Page Index Toggle Pages: 1