Using Octave: Difference between revisions

Jump to navigation Jump to search
28 bytes removed ,  28 October 2016
→‎Plotting: Add missing image.
(All output codes are of lang="text")
(→‎Plotting: Add missing image.)
Line 156: Line 156:
[https://www.gnu.org/software/octave/doc/interpreter/Two_002dDimensional-Plots.html about plotting].
[https://www.gnu.org/software/octave/doc/interpreter/Two_002dDimensional-Plots.html about plotting].


<syntaxhighlight lang="octave">plot (i/10, w);
<syntaxhighlight lang="octave">plot (i / 10, w);
title ('w = sin(i/10)');
title ('w = sin (i / 10)');
xlabel ('i ÷ 10');
xlabel ('i / 10');
ylabel ('w');</syntaxhighlight>
ylabel ('w');</syntaxhighlight>


<img src="octave_basics-1.png" alt="octave_basics-1.png">
[[File:Using octave-1.png]]
 
 


= Strings =
= Strings =

Navigation menu