"zscore" Matlab 中的函数
"zscore" function in Matlab
我在网上看到这个z = zscore(x,0,2)
,我想知道“0”和“2”分别代表什么?哪个决定“0”和“2”的值?如果我使用 z = zscore(x,0,4)
,这是否意味着它将来更有可能生成 NaN 值
计算?非常感谢!
Matlab 文档是 here
从那里开始:
zscore(X,flag,dim)
If flag is 0 (default), then zscore scales X using the sample standard deviation...
If flag is 1, then zscore scales X using the population standard deviation
zscore(X,flag,dim) standardizes X along dimension dim
除非数据的维度发生变化,否则您不会将 2 更改为 4。
我在网上看到这个z = zscore(x,0,2)
,我想知道“0”和“2”分别代表什么?哪个决定“0”和“2”的值?如果我使用 z = zscore(x,0,4)
,这是否意味着它将来更有可能生成 NaN 值
计算?非常感谢!
Matlab 文档是 here
从那里开始:
zscore(X,flag,dim)
If flag is 0 (default), then zscore scales X using the sample standard deviation...
If flag is 1, then zscore scales X using the population standard deviation
zscore(X,flag,dim) standardizes X along dimension dim
除非数据的维度发生变化,否则您不会将 2 更改为 4。