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
**************************************
Citation pour cette source
Luigi Rosa (2024). Variance of Vector Elements (https://www.mathworks.com/matlabcentral/fileexchange/4070-variance-of-vector-elements), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |