R2 calculator
Version 1.0.0.0 (1012 Bytes) by
Joris Meurs
Function for direct calculation of the coefficient of determination of two vectors
Filname: 'rsquare.m'. This file can be used for directly calculating
the coefficient of determination (R2) of a dataset.
Two input arguments: 'X' and 'Y'
One output argument: 'R2'
X: Vector of x-parameter
Y: Vector of y-paramter
R2: Coefficient of determination
Input syntax: rsquare(X,Y)
Developed by Joris Meurs BASc (2016)
Cite As
Joris Meurs (2026). R2 calculator (https://se.mathworks.com/matlabcentral/fileexchange/56194-r2-calculator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction > Descriptive Statistics >
Find more on Descriptive Statistics in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
