Scilab 5.5.1
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
nfreq
ベクトルまたは行列における値の頻度
呼び出し手順
m=nfreq(x)
パラメータ
- x
実数または複素数のベクトルまたは行列
説明
実数または複素数のベクトル,もしくは
実数または複素数の行列xにおける値の頻度.
ある実数または複素数のベクトルまたは行列
xについて, m=freq(x) は
size(x,'*')x2の行列mの最初の列に
xの値,
この行列の2番目の列に対応する値の頻度を返します.
tabul関数が
より効率的で,
文字列のベクトルにも適用でき,
ソートされたmを返すことに注意してください.
例
x=[2 8 0 3 7 6 8 7 9 1] m=nfreq(x)
| Report an issue | ||
| << Summaries | Summaries | tabul >> |