annotate index.md @ 82:bc79072a8169 kai

Update README with suggestion for future deployment.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 17 Oct 2016 18:34:14 +0200
parents 5e297505996c
children 45d807d2bfcc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
1 ---
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
2 layout: default
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
3 ---
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
4
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
5 **[GNU Octave][1]** is a high-level interpreted language,
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
6 primarily intended for numerical computations,
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
7 with built-in plotting and visualization capabilities.
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
8 Many [Octave Forge packages][2] provide useful extensions for
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
9 several scientific and engineering applications.
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
10 The GNU Octave language is quite similar to [Matlab][3]
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
11 so that most programs are easily portable.
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
12
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
13 Octave is distributed under the terms of the
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
14 [GNU General Public License][4].
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
15
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
16 [![GNU Octave 4.0.3 - Licensed under CC BY-SA 3.0][screen-small]][screen]
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
17
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
18 [1]: http://www.octave.org
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
19 [2]: http://octave.sourceforge.net/packages.php
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
20 [3]: https://www.mathworks.com/matlab
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
21 [4]: {{ "license.html" | relative_url }}
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
22 [screen]: {{ "/img/screenshot-2016.png" | relative_url }}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
23 [screen-small]: {{ "/img/screenshot-2016-small.png" | relative_url }}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
24
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
25
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
26
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
27 ---
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
28
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
29 # [{% octicon rss class:"octicon-rss-octave" %}][Feed] [News]
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
30
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
31 {% for post in site.posts limit:3 %}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
32 - [{{ post.title }}]({{ post.url | relative_url }})
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
33 ({{ post.date | date: "%b %-d, %Y" }})
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
34
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
35 <div class="news-content">
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
36 {{ post.excerpt }}
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
37 </div>
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
38 {% endfor %}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
39
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
40 [Feed]: {{ "feed.xml" | relative_url }}
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
41 [News]: {{ "news.html" | relative_url }}
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
42
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
43
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
44 ---
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
45
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
46 ## Some Examples
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
47
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
48 - Solve systems of equations with linear algebra operations on
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
49 **vectors** and **matrices**:
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
50
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
51 {% highlight octave %}
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
52 b = [4; 9; 2]; % Column vector
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
53 A = [ 3 4 5;
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
54 1 3 1;
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
55 3 5 9 ];
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
56 x = A \ b % Solve $Ax = b$ by inverting A
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
57 {% endhighlight %}
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
58
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
59 - Visualize data with **high-level plot commands** in 2D and 3D:
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
60
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
61 {% highlight octave %}
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
62 % Create an evenly-spaced vector from -10 to 10
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
63 x = -10:0.1:10;
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
64 y = sin(x); % y is also a vector
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
65 plot(x,y);
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
66 title("Simple 2-D Plot");
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
67 xlabel("x");
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
68 ylabel("sin (x)");
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
69 {% endhighlight %}
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
70
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
71 [![Sine plot][plot]][plot]
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
72
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
73 [plot]: {{ "/img/plot.png" | relative_url }}