annotate index.md @ 88:45d807d2bfcc kai

Revisit index start page.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 17 Oct 2016 18:39:05 +0200
parents 5e297505996c
children
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
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
3 title: Home
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
4 menu: false
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
5 ---
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
6
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
7 **[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
8 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
9 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
10 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
11 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
12 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
13 so that most programs are easily portable.
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
14 [Read more][4].
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
15
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
16 Octave is distributed under the terms of the
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
17 [GNU General Public License][5].
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
18
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
19 [![GNU Octave 4.0.3 Screenshot][screen-small]][screen]
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
20
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
21 [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
22 [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
23 [3]: https://www.mathworks.com/matlab
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
24 [4]: {{ "about.html" | relative_url }}
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
25 [5]: {{ "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
26 [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
27 [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
28
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
29
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
30
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
31 ---
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
32
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
33 # [{% 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
34
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
35 {% for post in site.posts limit:3 %}
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
36 - [**{{ post.title }}**]({{ post.url | relative_url }})
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
37 ({{ post.date | date: "%b %-d, %Y" }})
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
38
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
39 <div class="news-content">
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
40 {{ post.excerpt }}
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
41 </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
42 {% endfor %}
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
43
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
44 [Feed]: {{ "feed.xml" | relative_url }}
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
45 [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
46
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
47
66
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
48 ---
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
49
a7952259f5d3 Markdownify more pages, make better use of SVG and CSS.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 63
diff changeset
50 ## 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
51
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
52 - 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
53 **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
54
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
55 {% highlight octave %}
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
56 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
57 A = [ 3 4 5;
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
58 1 3 1;
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
59 3 5 9 ];
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
60 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
61 {% endhighlight %}
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
62
63
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
63 - 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
64
0a7baadc93a4 Overhaul index.md start page. Less is more! Tidy up css.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 48
diff changeset
65 {% highlight octave %}
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
66 x = -10:0.1:10; % Create an evenly-spaced vector from -10 to 10
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
67 y = sin (x); % y is also a vector
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
68 plot (x,y);
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
69 title ("Simple 2-D Plot");
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
70 xlabel ("x");
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
71 ylabel ("sin (x)");
44
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
72 {% endhighlight %}
dbc6628a3c05 Drag index.html into the Markdown language.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
73
74
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
74 [![Sine plot][plot]][plot]
5e297505996c Some minor content changes.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 66
diff changeset
75
88
45d807d2bfcc Revisit index start page.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 74
diff changeset
76 [plot]: {{ "/img/example-plot.png" | relative_url }}