Effacer les filtres
Effacer les filtres

inverse of log10

178 vues (au cours des 30 derniers jours)
Jerry Walker
Jerry Walker le 15 Mai 2012
Is there a MATLAB command that is the inverse of log10?

Réponses (2)

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

Wayne King
Wayne King le 15 Mai 2012
Just 10^(log10(x))
x = log10(1000);
10^x
  1 commentaire
Walter Roberson
Walter Roberson le 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Exponents and Logarithms dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by