[Doc] Adjust example docstrings to get better automatic summaries

This commit is contained in:
Ray Speth 2016-10-14 17:20:18 -04:00
parent 0c1eb4cd89
commit ac771aaac5
3 changed files with 6 additions and 9 deletions

View file

@ -1,3 +1,4 @@
% Run all examples
ctpath;
cd ../demos/matlab;
run_examples;

View file

@ -1,11 +1,10 @@
function periodic_cstr
%
% Periodic CSTR
% A CSTR with steady inputs but periodic interior state.
%
% This example illustrates a CSTR with steady inputs but periodic
% interior state. A stoichiometric hydrogen/oxygen mixture is
% introduced and reacts to produce water. But since water has a
% large efficiency as a third body in the chain termination reaction
% A stoichiometric hydrogen/oxygen mixture is introduced and reacts to produce
% water. But since water has a large efficiency as a third body in the chain
% termination reaction
%
% H + O2 + M = HO2 + M
%

View file

@ -1,9 +1,6 @@
function [work, efficiency] = rankine(t1, p2, eta_pump, eta_turbine)
%
% RANKINE
%
% This example computes the efficiency of a simple vapor power
% cycle.
% This example computes the efficiency of a simple vapor power cycle.
%
help rankine