1 2 3 4 5
function x = logb(y, base) % logb - logarithm to base b % function x = logb(y, base) x = log(y) ./ log(base);