IT Log

Record various IT issues and difficulties.

Tag: log


  • The way to represent log functions in MATLAB

    To represent logarithmic functions in MATLAB, you can utilize the built-in log function for natural logarithms and log10 for base 10 logarithms. For arbitrary bases, employ the change-of-base formula: log(x) / log(a). Here’s an example: % Natural logarithm y = log(10); % Approximately 2.3026 % Base 10 logarithm y = log10(100); % 2 % Arbitrary…