inverse of log10

70 Ansichten (letzte 30 Tage)
Jerry Walker
Jerry Walker am 15 Mai 2012
Kommentiert: Walter Roberson am 9 Nov. 2023
Is there a MATLAB command that is the inverse of log10?

Antworten (2)

Honglei Chen
Honglei Chen am 15 Mai 2012
a = 10;
b = log10(a);
c = 10^b

Wayne King
Wayne King am 15 Mai 2012
Just 10^(log10(x))
x = log10(1000);
10^x
  1 Kommentar
Walter Roberson
Walter Roberson am 9 Nov. 2023
x = log10([1 2 3 1000]);
10.^x %revised
ans = 1×4
1 2 3 1000
10^x %original
Error using ^
Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To operate on each element of the matrix individually, use POWER (.^) for elementwise power.

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by