gusucode.com > qit_matlab_0.10.0工具箱源码程序 > qit/template.m

    function y = funcname(a, b)
% FUNCNAME  Single line description of the function.
%  y = funcname(a)     % example call syntax, short description of what it does
%  y = funcname(a, b)  % another example for different syntax
%
%  Here we describe in length what the function actually does, define
%  the inputs and the outputs etc.

% Extra notes not meant to be seen by the casual user using the help command.
%! N.N. Nobody, "Relevant article", PRA 90, 111 (2010).
%! Another journal reference, one per line.
% Author's Name 2007-2008
% Next Author's Name 2008


code goes here