Automatic flow chart
H = FUN_FLOWCHART(LOSSES,POUT) plot a flowchart diagram, useful for energie and power synthesis. LOSSES is a vector with the various considered losses and POUT is the considered usefull power.H is a figure handler.
Example:
LOSSES = [0.3 5 3 2]; % Watts
POUT = 10; % Watts
h = fun_flowchart(LOSSES,POUT)
H = FUN_FLOWCHART(LOSSES,POUT,TXT) add label for each loss and/or the input and output power.The input power is the output power plus the losses ;-). CELL is a cell array.
Example:
LOSSES = [0.3 5 3 2]; % Watts
POUT = 10; % Watts
TXT = {'motor' 'wheel/road' 'wind' 'reductor'}
h = fun_flowchart(LOSSES,POUT,TXT)
LOSSES = [0.3 5 3 2]; % Watts
POUT = 10; % Watts
TXT = {'motor' 'wheel/road' 'wind' 'reductor' 'to the wheel' 'fuel'}
h = fun_flowchart(LOSSES,POUT,TXT)
H = FUN_FLOWCHART(LOSSES,POUT,TXT,UNIT) permits to define the flow unit. UNIT is a string like UNIT='kW'
Example:
LOSSES = [0.3 5 3 2]; % Watts
POUT = 10; % Watts
TXT = {'motor' 'wheel/road' 'wind' 'reductor' 'to the wheel' 'fuel'}
UNIT = 'kW'
h = fun_flowchart(LOSSES,POUT,TXT,UNIT)
H = FUN_FLOWCHART(LOSSES,POUT,TXT,K) permits to adjust the arrows size. K must be between 0 and 1.
H = FUN_FLOWCHART(LOSSES,POUT,TXT,UNIT,K) permits to use the FLOWCHART function with all the options.
引用格式
jean-christophe OLIVIER (2024). Automatic flow chart (https://www.mathworks.com/matlabcentral/fileexchange/47699-automatic-flow-chart), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots >
标签
社区
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |