diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-26 08:53:11 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-03-26 08:53:11 +0100 |
commit | fd85780706f13ba284730047f3927cb57ff53963 (patch) | |
tree | 44b20f7aab8cc5c088afb00197062fe2a859e131 | |
parent | Tue, 26 Mar 2019 08:49:12 +0100 (diff) | |
download | wiki-public-fd85780706f13ba284730047f3927cb57ff53963.tar.gz wiki-public-fd85780706f13ba284730047f3927cb57ff53963.tar.xz |
Tue, 26 Mar 2019 08:53:11 +0100
-rw-r--r-- | Matlab.wiki | 25 | ||||
-rw-r--r-- | templates/style.css | 5 |
2 files changed, 27 insertions, 3 deletions
diff --git a/Matlab.wiki b/Matlab.wiki index b558c9a..468c8b6 100644 --- a/Matlab.wiki +++ b/Matlab.wiki @@ -47,18 +47,37 @@ }}} </div> ---- +<div class="side"> +{{$ +\left[\begin{matrix} +1 & 2 & 3 +\end{matrix}\right] .' +\left[\begin{matrix} +1 \\ 2 \\ 3 +\end{matrix}\right] +}}$ {{{matlab a.' % transpose a }}} +</div> {{$ x = 3:6 \iff [3, 4, 5, 6] }}$ -A*B % Matrix multiplication -A.*B % Element wise multiplication +{{{matlab +A * B % Matrix multiplication +A .* B % Element wise multiplication +}}} == File Extension == `filename.m` should contain the function `filename`. + + +{{{matlab +figure; +plot(x, y); +xlabel('x'); +... +}}} diff --git a/templates/style.css b/templates/style.css index 4831c1a..53a7974 100644 --- a/templates/style.css +++ b/templates/style.css @@ -62,6 +62,11 @@ div[id='Top Heading'] + ul li { width: 10em; } +.side { + display: flex; + justify-content: space-around; +} + /* p, pre, blockquote, table, ul, ol, dl {margin-top: 1em; margin-bottom: 1em;} ul ul, ul ol, ol ol, ol ul {margin-top: 0.5em; margin-bottom: 0.5em;} |