Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Statistics > meanf

meanf

ベクトルまたは行列の重み付き平均

呼び出し手順

m=meanf(val,fre)
m=meanf(val,fre,'r') or m=meanf(val,fre,1)
m=meanf(val,fre,'c') or m=meanf(val,fre,2)

パラメータ

?

説明

この関数は,ベクトルまたは行列xの平均を計算します. あるベクトルまたは行列xについて, m=mn(x)は スカラーmxの全てのエントリの 平均を返します. m=mn(x,'r')(または等価なm=mn(x,1)) は行ベクトルmの各エントリにxの各列の平均を返します. m=mn(x,'c')(または等価なm=mn(x,2)) は列ベクトルmの各エントリにxの各行の平均を返します.

x=[0.2113249 0.0002211 0.6653811;0.7560439 0.3303271 0.6283918]
m=meanf(x,rand(x))
m=meanf(x,[10 10 10;1 1 1],'r')
m=meanf(x,[10 10 10;1 1 1],'c')

作者

Carlos Klimann

参考文献

Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.

<< mean Statistics median >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu May 12 11:45:55 CEST 2011