function resulting_vector = NTAunit(text);

for i = 1:size(text)
    a= upper(char(text(i)));
	if a(1:3) == 'UNI'
        resulting_vector(i) = 1;
	elseif a(1:3) =='THO'
        resulting_vector(i) = 1000;
	elseif a(1:3) =='MIL'
        resulting_vector(i) = 1e6;
	elseif a(1:3) =='TEN'
		resulting_vector(i) = 1e7;
	elseif a(1:3) =='100'
		resulting_vector(i) = 1e8;
    elseif a(1:3) =='HUN'
		resulting_vector(i) = 1e8;
	elseif a(1:3) =='BIL'
		resulting_vector(i) = 1e9;
	else
        display('Unknown unit');
	end
end