回答 (2 件)

Honglei Chen
Honglei Chen 2012 年 5 月 15 日

3 投票

a = 10;
b = log10(a);
c = 10^b
Wayne King
Wayne King 2012 年 5 月 15 日

1 投票

Just 10^(log10(x))
x = log10(1000);
10^x

1 件のコメント

Walter Roberson
Walter Roberson 2023 年 11 月 9 日
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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSimulink Real-Time についてさらに検索

タグ

質問済み:

2012 年 5 月 15 日

コメント済み:

2023 年 11 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by