log10
シンボリック入力に対する基底 10 の対数
構文
説明
例
数値およびシンボリック入力に対する基底 10 の対数
数値入力の基底 10 の対数を計算します。
log10(20)
ans = 1.3010
シンボリック入力の基底 10 の対数を計算します。結果は log
で返されます。
syms x f = x^2; fLog10 = log10(f)
fLog10 = log(x^2)/log(10)
subs
を使用した後、double
を使用して、x
を数値で置き換えてシンボリック出力を double に変換します。
fLog10 = subs(fLog10,x,5); % x is 5 fLog10 = double(fLog10)
fLog10 = 1.3979
入力引数
x
— 入力
数値 | ベクトル | 行列 | 配列 | シンボリック数 | シンボリック変数 | シンボリック配列 | シンボリック関数 | シンボリック式
入力。数値、ベクトル、行列、または配列、あるいはシンボリック数、変数、配列、関数、または式で指定されます。
バージョン履歴
R2006a より前に導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)