Probably because most other languages follow that same naming convention. Not sure why, just historical I guess. Answer from Image Analyst on mathworks.com
MathWorks
mathworks.com › matlab › mathematics › elementary math › exponents and logarithms
log10 - Common logarithm (base 10) - MATLAB
Y = log10(X) returns the common logarithm of each element in array X. The function accepts both real and complex inputs. For real values of X in the interval (0, Inf), log10 returns real values in the interval (-Inf ,Inf). For complex and negative real values of X, the log10 function returns ...
MathWorks
mathworks.com › symbolic math toolbox › mathematics › mathematical functions
log10 - Log base 10 of symbolic input - MATLAB
... Convert symbolic output to double by substituting for x with a number using subs, and then using double. fLog10 = subs(fLog10,x,5); % x is 5 fLog10 = double(fLog10) ... Input, specified as a number, vector, matrix, or array, or a symbolic number, variable, array, function, or expression.
Videos
05:17
Matlab Online Tutorial - 18 - Exponentials and Logarithms - YouTube
00:31
How MATLAB log10 gives base 10 logarithm - YouTube
05:17
Matlab Essentials - Sect 18 - Exponentials and Logarithms - YouTube
04:20
How to evaluate different function using MATLAB use of exponential ...
03:59
MATLAB Exponents and Logarithms - YouTube
03:33
What are the Two Important Types of Logarithms ( Log Base e and ...
Johns Hopkins University
math.jhu.edu › ~shiffman › 370 › help › techdoc › ref › log10.html
log10 (MATLAB Function Reference)
Description The log10 function operates element-by-element on arrays. Its domain includes complex numbers, which may lead to unexpected results if used unintentionally. Y = log10(X) returns the base 10 logarithm of the elements of X.
MathWorks
mathworks.com › matlab › mathematics › elementary math
Exponents and Logarithms - MATLAB & Simulink
In addition to common functions like exp and log, MATLAB® has several other related functions to allow flexible numerical calculations. The expm1 and log1p functions compensate for numerical round-off errors in small arguments, while the reallog, realpow, and realsqrt functions restrict the range of these functions to real numbers.
Northwestern University
ece.northwestern.edu › local-apps › matlabhelp › techdoc › ref › log10.html
log10 (MATLAB Functions)
The log10 function operates element-by-element on arrays. Its domain includes complex numbers, which may lead to unexpected results if used unintentionally. Y = log10(X) returns the base 10 logarithm of the elements of X.
EDUCBA
educba.com › home › data science › data science tutorials › matlab tutorial › matlab log
Matlab log | Learn the different examples of Matlab log
March 8, 2023 - log10(5) [Passing 5 as an argument to the log10 method as we need its common logarithm] [Mathematically, the log of 5 to the base “10” is 0.6990] This is how our input and output will look like in the Matlab command window:
Call +917738666252
Address Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
MathWorks
mathworks.com › matlabcentral › answers › 1465394-how-do-i-calculate-a-logarithm-of-a-variable-base
How do I calculate a logarithm of a variable base? - MATLAB Answers - MATLAB Central
October 2, 2021 - Hi! I tried to calculate a log of a varying base - no success. I saw that calculating log of the base of 10 or e is possible. for an example: after typing log (a,b) - I recieve an ERROR message. ...
MathWorks
mathworks.com › matlab › mathematics › elementary math › exponents and logarithms
log - Natural logarithm - MATLAB
This MATLAB function returns the natural logarithm ln(x) of each element in array X.
Cooper
faculty.cooper.edu › smyth › TechCompanion › Calc1 › Ch07 › NaturalLogs.htm
7.2 Natural Logarithms
In MATLAB (and Octave) log() computes natural logarithms. >> e = exp(1) e = 2.7183 >> log(e) ans = 1 >> syms x t >> int(1/t, 1, x) ans = log(x) >> diff( log(x) ) ans = 1/x · If you need to compute a common (base 10) log use log10(). >> log10( 100 ) ans = 2 ·
Chegg
chegg.com › engineering › computer science › computer science questions and answers › problem 1: matlab contains functions to calculate the natural logarithm (log), the logarithm to the base 10 (log10), and the logarithm to the base 2 (1092). however, if you want to find a logarithm to another base--for example, base b-you'll have to do the math yourself with the formula log.(x) log)(x) log.(b) what is the logs of 10 when b is defined from 1
Solved Problem 1: MATLAB contains functions to calculate the | Chegg.com
July 12, 2020 - Problem 1: MATLAB contains functions to calculate the natural logarithm (log), the logarithm to the base 10 (log10), and the logarithm to the base 2 (1092). However, if you want to find a logarithm to another base--for example, base b-you'll have to do the math yourself with the formula log.(x) log)(x) log.(b) What is the logs of 10 when b is defined from 1 to 10 in increments of 1?
Quora
quora.com › How-do-I-use-natural-logarithm-ln-in-matlab
How to use natural logarithm (ln) in matlab - Quora
You can use directly log(x) in MATLAB to do this . If you want to use logarithm of x to the base 10, you need to use log10(x).
Top answer 1 of 2
1
I think this can answer your question. https://youtu.be/2s3aJfRr9gE?t=284 Claude Shannon was using bits (log base 2) because he was using the uncertainty of a fair coin flip
2 of 2
1
I would wager for the exact same reason we use base 10 for common log, the nonfractional part tells you the length in bits (for base 10 it tells you the number of digits). Not to mention the fact that computers generally do math more native in binary. As is mentioned in the comments, all logarithms are just a constant multiple of each other, so it is really up to taste.
Note that this is just a quick and dirty trick, it probably does not give a result that is statistically correct.