Performance Measures - Comparing measurement data with simulation data
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi there,
I have some observation and simluation data, and I would like to compare these two time-series to obtain the following parameters:
Mean error, root mean square error, correclation coffiction etc. Also, I need to plot the scatter plot.
I have attached the mat files including the TimeTable simulation and Observation data.
If anyone could help me with that, I would much appreciate it. Thank you and I look forward to hearing from you.
Regards,
Ali
0 Kommentare
Antworten (1)
vidyesh
am 21 Feb. 2024
Hi Ali,
I am assuming you want to perform mathematical operations on data that share the same timestamps. To accomplish this, we need to first identify the common timestamps between the two datasets.
The code below will help you extract the data with common timestamps from both models:
load('TTobservation.mat');
load('TTSimulation.mat');
common_time = intersect(obs.Date,model.Date);
obs_2 = obs(common_time,:);
model_2 = model(common_time,:);
obs_data = obs_2.Obs;
model_data = model_2.THOffshore_SurfaceElevation;
Now that we have synchronized the data, we can proceed with the desired operations using MATLAB functions such as rms and corr.
For more information on the intersect, corr, and rms functions, you can refer to the following pages:
Hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Correlation Models finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!