How to calculate RMSE from Simulink Scope plots
69 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sreekanth Nandakumar
le 22 Mai 2019
Commenté : SHAKIRU KASSIM
le 10 Fév 2022
Hello All,
I have a plot containing a simulated as well as an experimental data of a system in simulink . I want to calculate the Root mean square error (RMSE) of the data. Can anyone explain to me how to extract data from the scope and calculate the RMSE ?
0 commentaires
Réponse acceptée
Shivam Sardana
le 30 Mai 2019
To log the data from Scope block, check Save Simulation Data Using a Scope Block in Common Scope Block Tasks. To calculate RMSE (Root Mean Square Error),
RMSE = sqrt(mean((simulatedData - experimentalData).^2));
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur View and Analyze Simulation Results dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!