add exercise output files to git

This commit is contained in:
Jan Grewe 2015-11-05 20:14:59 +01:00
parent 3f0f4bf2b3
commit d126c785fe
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,6 @@
>> logicalIndexingBenchmark
time needed to manually filter elements smaller than 0.5 in a vector of length 100000
Elapsed time is 0.008562 seconds.
time needed to do the same with logical indexing
Elapsed time is 0.001543 seconds.

View File

@ -0,0 +1,12 @@
>> logicalVector
Logischer Vektor y:
y =
1 1 1 1 0 0 0 0 0 0
Datentyp von y: logical
Alle Elemente aus x, die kleiner als 5 sind:
ans =
1 2 3 4

View File

@ -0,0 +1,4 @@
>> vectorsize
length of a: 10
number of dimensions (rank) of size_of_a: 2
number of entries in the 2nd dimesion of a: 10