|
|
| File Information |
| Description |
Short script that calculates root mean square error from data vector or matrix and the corresponding estimates.
Checks for NaNs in data and estimates and deletes them and then simply does:
r = sqrt( sum( (data(:)-estimate(:)).^2) / numel(data) );
That's it. |
| MATLAB release |
MATLAB 7.2 (R2006a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (6) |
| 09 Sep 2008 |
Durga Shrestha
|
|
|
| 10 Sep 2008 |
Wolfgang Schwanghart
|
|
|
| 11 Sep 2008 |
Felix Hebeler
|
|
|
| 09 Oct 2008 |
Gary Merkoske
|
|
|
| 10 Oct 2008 |
Felix Hebeler
|
|
|
| 27 Oct 2008 |
Wolfgang Schwanghart
|
|
|
| Updates |
| 11 Sep 2008 |
include NaN checking |
| 11 Sep 2008 |
- delete NaNs and use sum instead of nansum, eliminating the need for the statistical toolbox |
| 13 Oct 2008 |
By popular demand: using sum(data(:)) instead of sum(sum(data)). Thanks! |
| 27 Nov 2008 |
Updated description and code for better readability and |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com