Easy Sensitivity (Tornado) Plot Function

This function makes a tornado sensitivity plot and returns the sensitivity values.
1.7K 次下载
更新时间 2013/7/2

查看许可证

This function is designed to be easily used by simply supplying data. Axis names, sensitivity value, plot saving and function definition are optional function inputs. The function returns two vectors with the low and high sensitivity values, along with a tornado plot. The syntax is:

[low,high]=TorPlot(data,names,0.2,true,fh);

where data=[1,2,3...] and names={'First','Second','Third'...}. 0.2 corresponds to a 20% sensitivity analysis and true indicates the plot will be automatically saved in the working directory as 'Objective.png'. fh is the function handle, ie: @my_fun. An example is included, accessed by typing help TorPlot or opening the file.

引用格式

Richard McCulloch (2024). Easy Sensitivity (Tornado) Plot Function (https://www.mathworks.com/matlabcentral/fileexchange/42391-easy-sensitivity-tornado-plot-function), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

I modified the function to be able to perform sensitivity analysis on a supplied function and set the summed sensitivity to a default value if a function isn't supplied.

1.0.0.0