- Export the data by right clicking on it in the Browser and selecting Export Data to MATLAB Workspace... Change the variable name if you like, and then click OK.
- Add noise to the data from the MATLAB Command Window. The details of this will depend on the form of your noise. But let's assume you want to add normally distributed noise with a standard deviation of 2. Let's also assume that the variable you created in Step 1 was Data1, and that this data contains a variable named CONC. Then you can add noise to the CONC variable with code like this: Data1.CONC = Data1.CONC + 2*randn(size(Data1.CONC))
- Now, import the data with noise back into the SimBiology Model Analyzer app. To do that, click on the Data button in the toolstrip and select Import Data from MATLAB Workspace. Then select the appropriate variable name.
How to add noise in SimBiology analyzer app
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I need help on how to add noise to experimental data sets in SimBiology analyzer app. I am working on a project, and required to add some noise to the data sets to test the model robustness.
0 个评论
采纳的回答
Arthur Goldsipe
2022-5-11
Hi,
I can't think of a way to add noise using just the SimBiology Model Analyzer app. I think you will need to export the data to MATLAB, add noise there, and reimport the data. Here are more details on how to do that:
I hope that helps.
-Arthur
2 个评论
Fulden Buyukozturk
2022-5-11
编辑:Fulden Buyukozturk
2022-5-11
Hi,
In addition to what Arthur described, for Step 2 you could use sbiosampleerror to add noise to data. Although it's a method for simulation data, it accepts numeric matrices as input. So you could apply it on experimental data as well.
Fulden
更多回答(0 个)
社区
更多回答在 SimBiology Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!