clear; clc;

data = randi(100, 1, 5)
result = data(1);
for i = 2 : length(data)
    if data(i) > result
        result = data(i);
    end
end
result
[a, b] = max(data)