フィルターのクリア

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

2 ビュー (過去 30 日間)
Todd Pierce
Todd Pierce 2022 年 5 月 11 日
回答済み: Avadhoot 2023 年 9 月 21 日
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?

回答 (1 件)

Avadhoot
Avadhoot 2023 年 9 月 21 日
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.

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by