RMSE between original and predicted values.

5 views (last 30 days)
Hi,
If I have thousand samples of my signal in a vector form like 1*1000, and I will predict my signal at each iteration that results into 1*1000 also. Then In this case, how will I find the RMSE of my model?
Many Thanks

Accepted Answer

Star Strider
Star Strider on 18 Jan 2020
Please see my Comment replying to your Comment.
  8 Comments

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 18 Jan 2020
Without any other information, the maximum likelihood prediction for every element would be the mean of the entire signal. But it seems you'd rather have the rms, so you'd have
RMSE = rms(yourVector)
predictionVector = RMSE * ones(length(yourVector));

Tags

Products

Community Treasure Hunt

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

Start Hunting!