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.
Citar como
jean-christophe OLIVIER (2025). Automatic flow chart (https://es.mathworks.com/matlabcentral/fileexchange/47699-automatic-flow-chart), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots >
Etiquetas
Comunidades de usuarios
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
