Log with different base matlab