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

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)

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

Categories

Products

Release

R2020a

Asked:

on 30 May 2022

Answered:

on 3 Jun 2022

Community Treasure Hunt

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

Start Hunting!