Octave Basics: Difference between revisions

Jump to navigation Jump to search
273 bytes added ,  14 June 2019
 
(One intermediate revision by the same user not shown)
Line 27: Line 27:
=== Scripts and functions ===
=== Scripts and functions ===


<code>@</code> , {{manual|function}} , {{manual|return}} , {{manual|nargin}} , {{manual|nargout}} , {{manual|varargin}} , {{manual|varargout}} , {{manual|feval}} , {{manual|eval}}
<code>@</code> , <code>function</code> , <code>return</code> , {{manual|nargin}} , {{manual|nargout}} , {{manual|varargin}} , {{manual|varargout}} , {{manual|feval}} , {{manual|eval}}


<syntaxhighlight lang="octave">
<syntaxhighlight lang="octave">
Line 37: Line 37:
=== Programming elements ===
=== Programming elements ===


<tt>== | > | < | >= | <= | != | | || | | & | && | ! | if | else | elseif | for | while |end | break | continue | pause</tt>
<code>==</code> , <code>></code> , <code><</code> , <code>>=</code> , <code><=</code> , <code>!=</code> , <code>|</code> , <code>||</code> , <code>&</code> , <code>&&</code> , <code>!</code> , <code>~</code> , <code>if</code> , <code>else</code> , <code>elseif</code> , <code>for</code> , <code>while</code> , <code>end</code> , <code>break</code> , <code>continue</code> , <code>pause</code>


<syntaxhighlight lang="octave">
<syntaxhighlight lang="octave">

Navigation menu