How to add noise in SimBiology analyzer app

1 回表示 (過去 30 日間)
BLESSING AKAH
BLESSING AKAH 2022 年 5 月 11 日
コメント済み: BLESSING AKAH 2022 年 5 月 12 日
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.

採用された回答

Arthur Goldsipe
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:
  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 件のコメント
Fulden Buyukozturk
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
BLESSING AKAH
BLESSING AKAH 2022 年 5 月 12 日
Thanks for the reply, that was helpful

サインインしてコメントする。

その他の回答 (0 件)

コミュニティ

その他の回答  SimBiology コミュニティ

カテゴリ

Help Center および File ExchangeImport Data についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by