Automatic flow chart

Automatic flow chart for the visualisation of power or losses repartition
405 Downloads
Updated 29 Aug 2014

View License

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.

Cite As

jean-christophe OLIVIER (2024). Automatic flow chart (https://www.mathworks.com/matlabcentral/fileexchange/47699-automatic-flow-chart), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on 2-D and 3-D Plots in Help Center and MATLAB Answers
Communities

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0