ヘルプ センターヘルプ センター
1 つ以上の行列に含まれる要素の絶対値の総和
[s,n] = sumabs(x)
[s,n] = sumabs(x) は、行列または行列の cell 配列を取り、次の結果を返します。
s
有限値の絶対値の総和
n
有限値の数
x に有限値が含まれない場合、返される和は 0 になります。
x
m = sumabs([1 2;3 4]) [m,n] = sumabs({[1 2; NaN 4], [4 5; 2 3]})
R2010b で導入
meanabs | meansqr | sumsqr
meanabs
meansqr
sumsqr
次の 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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office