Automatic flow chart

Automatic flow chart for the visualisation of power or losses repartition
441 téléchargements
Mise à jour 29 août 2014

Afficher la licence

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.

Citation pour cette source

jean-christophe OLIVIER (2026). Automatic flow chart (https://fr.mathworks.com/matlabcentral/fileexchange/47699-automatic-flow-chart), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et MATLAB Answers
Communautés
Version Publié le Notes de version
1.0.0.0