Trying to find the RMSE between two (925 902) grids of elevation data points

2 Ansichten (letzte 30 Tage)
Trying to find the root mean square error values for the differences between two grids, matrix A is the original 925x902 matrix and matrix B is the simulated one.
I also would like to display the results of the RMSE over the top of the original matrix A grid.
How would i go about this?

Antworten (1)

Avadhoot
Avadhoot am 21 Sep. 2023
Hi Todd,
You can find the RMSE between two matrices either row-wise or column wise. I assume that you need the column wise RMSE values. You could do that by using the following command:
rmseCol = rmse(A,B)
You could also find the row wise RMSE values by using:
rmseRow = rmse(A,B,2)
After that you could append the original matrix A after the RMSECol vector to get the desired effect of getting the RMSE values above the original matrix A. You can do it as follows:
RMSE_A = [rmseCol ; A]
You can find more information about the rmse function and its uses here: Root-mean-square error between arrays - MATLAB rmse - MathWorks India
Hope this helps.
Regards,
Avadhoot.

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by