如何统计矩阵中的数据并将超出一定范围的数据归到边界。
Show older comments
z=rand(100,100);
依据统计中的拉依达准则3σ,将矩阵中超出(μ-2σ,μ+2σ)的元素的值归到边界值域。
该怎么写这样的代码?
Accepted Answer
More Answers (0)
Categories
Find more on 描述性统计量 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!