diff options
author | leochanj105 <leochanj@live.unc.edu> | 2020-10-20 03:47:33 -0400 |
---|---|---|
committer | leochanj105 <leochanj@live.unc.edu> | 2020-10-20 03:47:33 -0400 |
commit | a32f220f06cc463e5b56e7fa0b1b1334d94d08f3 (patch) | |
tree | 4af4caa60074465d85fc2ef5cc1b23e74c064329 /SD-VBS/common/matlab/readFile.m | |
parent | 79f30887129145e15e5172e36a7d7602859fc932 (diff) |
matlab removed
Diffstat (limited to 'SD-VBS/common/matlab/readFile.m')
-rw-r--r-- | SD-VBS/common/matlab/readFile.m | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/SD-VBS/common/matlab/readFile.m b/SD-VBS/common/matlab/readFile.m deleted file mode 100644 index 4888103..0000000 --- a/SD-VBS/common/matlab/readFile.m +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | function fid = readFile(path) | ||
2 | |||
3 | file = fopen(path, 'r'); | ||
4 | |||
5 | full = fscanf(file,'%f'); | ||
6 | elapsed = zeros(1,2); | ||
7 | |||
8 | rows = full(1); | ||
9 | cols = full(2); | ||
10 | fid = zeros(rows, cols); | ||
11 | |||
12 | k = 3; | ||
13 | for i=1:rows | ||
14 | for j =1:cols | ||
15 | fid(i,j) = full(k); | ||
16 | k = k+1; | ||
17 | end | ||
18 | end | ||
19 | fclose(file); | ||
20 | |||
21 | end | ||
22 | |||