fixed page breaking of code and exercises

This commit is contained in:
2020-12-11 23:22:40 +01:00
parent 0380b7a96f
commit 0e30a01a45
13 changed files with 362 additions and 538 deletions

View File

@@ -1,4 +1,5 @@
a = [2 4 6 8 10]; % row vector with five elements
s = size(a) % store the return value of size() in a new variable
s(2) % get the second element of s, i.e. the length along the 2nd dimension
size(a,2) % the shortcut
a = [2 4 6 8 10]; % row vector with five elements
s = size(a) % store the return value of size() in a new variable
s(2) % get the second element of s,
% i.e. the length along the 2nd dimension
size(a, 2) % the shortcut

View File

@@ -1,3 +1,3 @@
s = 1 10
ans = 10
ans = 10
s = 1 5
ans = 5
ans = 5