How to add noise in SimBiology analyzer app

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Arthur Goldsipe
Arthur Goldsipe il 11 Mag 2022
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:
  1. 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.
  2. 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))
  3. 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.
I hope that helps.
-Arthur
  2 Commenti
Fulden Buyukozturk
Fulden Buyukozturk il 11 Mag 2022
Modificato: Fulden Buyukozturk il 11 Mag 2022
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
BLESSING AKAH
BLESSING AKAH il 12 Mag 2022
Thanks for the reply, that was helpful

Accedi per commentare.

Più risposte (0)

Community

Più risposte nel  SimBiology Community

Categorie

Scopri di più su Import Data in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by