How to extract value of Sobol index from the Sobol index plot generated in Matlab ?
조회 수: 6(최근 30일)
표시 이전 댓글
Darshna Joshi 2022년 11월 20일
답변: Arthur Goldsipe 2022년 11월 28일
Find the attached figure that is saved in Matlab. I need to extract the value of first order and total order sobol index.
I have used the following way to extract the data
h = findobj(gca,'Type','line')
but it gives me this:
2×1 Line array:
Please let me know, as i need to know the highest value of k8,k_8 and so on for both first and total order Sobol index.
댓글 수: 2
Arthur Goldsipe 2022년 11월 28일
In your comment, what do you mean by the "global sensitivity analysis tool"?
Do you mean you are running a global sensitivity analysis (GSA) program using the SimBiology Model Analyzer app? If so, then you can view the Sobol Indices in a datasheet in the app itself. You can also export this information in several different ways. I'll provie more details below.
After you run the GSA program, you will by default get a datasheet that includes the sobol indicies. You can also create a new one by clicking on "New Datasheet" in the toolstrip, and then dragging the "results" variable from the program into this datasheet.
You can create a spreadsheet that contains the information in the Datasheet by right-clicking on a table and selecting "Export Datasheet."
You can also export the Sobol results to the MATLAB workspace by right-clicking on the "results" variable for the program and selecting "Export Data to MATLAB Workspace...". By default, this will create a variable name "results", and then you can access the SobolIndicies property on this variable that Brian mentioned in a comment as results.SobolIndices.
댓글 수: 0
Find more on Perform Sensitivity Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!