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 Community

카테고리

Help CenterFile Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by