% Unit 2 (MATLAB Course @ UAM)
% (c) Alexander Knebe

function [n] = my_find(x)
% find positions in x() for which the value is greater than 0

n = [];
for j=1:length(x)
    if(x(j)>0)
        n = [n,j];
    end
end

end

