-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.m
47 lines (39 loc) · 850 Bytes
/
test.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
% x = {'hello.png'};
% y = '.png';
% k = strfind(char(x), y);
%
% if ~isempty(k)
% disp('hello')
% end
%
% images_col = '00003435.png';
% first_val = 2323;
% second_val = 2324;
%
% mid_val = floor(first_val + (second_val - first_val) / 2);
% img = ['0000' num2str(mid_val) '.png'];
% images_col = [images_col; img]
%
%
% A = [{'111.png'} {'114.png'}; {'112.png'} []; {'113.png'} []; {'114.png'} []; {'115.png'}];
% s = size(A, 1)
%
% first_image = A(1,1);
% second_image = A(1,1);
% k = strfind(char(second_image), '.png');
%
% counter = 1;
% while ~isempty(k) && counter < s
% counter = counter + 1;
% second_image = A(counter,1);
% k = strfind(char(second_image), '.png');
% end
%
% first_image
% second_image
%
input_dir = '/noah/';
for j = 1:5
t{j} = [input_dir num2str(j)];
end
t