如何统计矩阵中的数据并将超出一定范围的数据归到边界。
显示 更早的评论
z=rand(100,100);
依据统计中的拉依达准则3σ,将矩阵中超出(μ-2σ,μ+2σ)的元素的值归到边界值域。
该怎么写这样的代码?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 描述性统计量 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!