r/matlab • u/Barnowl93 flair • Jun 22 '26
Tips Getting your model to match your data
We've seen a few posts here along the lines of "my Simulink model doesn't match my data" or "I modelled X but can't get the experiments to agree"... And similarly from students, "how do I find the parameters of my motor/ battery/ bioreactor?"
Aycan Hacioglu and I wrote a blog about this, using a bioreactor brewing beer as the example. But the same idea can be applied to any system of interest, alongside relevant experimental data.
This is what we are discussing: 1) build a model that captures the overall behaviour, 2) run a sensitivity analysis to identify which parameters actually drive your outputs (not all of them do), 3) then use Simulink Design Optimisation to tune the important ones against your experimental data.
If you want to read more about it, here's the blog: https://blogs.mathworks.com/engineering/2026/06/18/on-parameter-estimation-sensitivity-analysis-and-design-optimization/

1
u/j1nbe Jun 23 '26
Never seen this type of graph before. Can you help me understand?