5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 2.72 KB File ID: #4070

Variance of Vector Elements

by Luigi Rosa

 

20 Oct 2003 (Updated 22 Oct 2003)

A fast covariance.

| Watch this File

File Information
Description

This functions returns the variance of vector elements.

Input must be unidimensional real arrays (double format). The output can be normalized to N or to (N-1), where N is the number of observations (the length of vectors).

This implementation run faster than MATLAB cov function and can be also used to calculate the standard deviation of a 1-dimensional vector.

**************************************
Please contribute if you find this software useful.
email luigi.rosa@tiscali.it
mobile +39-340-3463208

Report bugs to luigi.rosa@tiscali.it
**************************************

Acknowledgements
This submission has inspired the following:
Fast Correlation between two vectors
MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
19 Feb 2004 Chris Lucas

A very fast implementation, great job.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
covariance Luigi Rosa 22 Oct 2008 07:08:54
standard deviation Luigi Rosa 22 Oct 2008 07:08:54
vector Luigi Rosa 22 Oct 2008 07:08:54
elements Luigi Rosa 22 Oct 2008 07:08:54
covariance yang 29 Jun 2009 11:23:08

Contact us at files@mathworks.com