From fd85780706f13ba284730047f3927cb57ff53963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 26 Mar 2019 08:53:11 +0100 Subject: Tue, 26 Mar 2019 08:53:11 +0100 --- Matlab.wiki | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'Matlab.wiki') diff --git a/Matlab.wiki b/Matlab.wiki index b558c9a..468c8b6 100644 --- a/Matlab.wiki +++ b/Matlab.wiki @@ -47,18 +47,37 @@ }}} ---- +
+{{$ +\left[\begin{matrix} +1 & 2 & 3 +\end{matrix}\right] .' +\left[\begin{matrix} +1 \\ 2 \\ 3 +\end{matrix}\right] +}}$ {{{matlab a.' % transpose a }}} +
{{$ 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'); +... +}}} -- cgit v1.2.3