How do I display R-squared and RMSE value for 2 curves while comparing?

14 views (last 30 days)
I have 2 curves to plot-soundtemp_num and soundtemp_exp. These are data from a numerical optimization algorithm. I just want to display R-squared value and RMSE value in the same plot.
plot (timeexp,soundtemp_num,'b',timeexp,soundtemp_exp,'r');

Answers (1)

Biral Pradhan
Biral Pradhan on 3 Jun 2022
I understand, you want to display the calculated values of R-squared and RMSE in your plot. Kindly follow the following link to resolve the issue

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!