/basicConcepts

Some codes that I prepared for fundamental research interests.

Primary LanguageMATLAB

basicConcepts

polyArrays

This function evaluates 2nd degree polynomial values that fits to the given input data of data_x and data_y. The polynomial values are evaluated at the x values of data_eval and given with both 95% confidence intervals.

calcSampCorr

This function calculates sample correlation coefficient for two data arrays.

calcNormalizedBias

This function calculates normalized bias for two data arrays.

calcScatterIndex

This function calculates scatter index for two data arrays.

calcNRMSE

This function calculates normalized root mean square error for two data arrays.

createXYZ

This script creates an XYZ file from a data matrix (i*j), and corresponding longitude and latitude arrays. Longitude array should follow the lines (i) of the data array, where latitude array should follow the columns (j) of data array. If the opposite is true, change z(i,j) to z(j,i).