行列から0~0.01となる要素を抽出して、別の行列として定義したいです。
显示 更早的评论
行列から0~0.01となる要素を抽出して、別の行列として定義したいのですが、うまく表現が出来ません。
rssimW = [0.0016,0.3981,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0025,0.0016,0.0016,0.0025,0.0016,0.0016,0.0016,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0016,0.0016,0.0025,0.0016,0.0016,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0000,0.0016,0.0025,0.0025,0.0016,0.0025,0.0025,0.0025,0.0025,0.0025,0.0040,0.0040,0.0040,0.0040,0.0063,0.0040,0.0040,0.0040,0.0040,0.0040,0.0025,0.0025,0.0016,0.0025,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0025,0.0016,0.0000,0.0016,0.0016,0.0016,0.0025,0.0025,0.0016,0.0016,0.0016,0.0025,0.0025,0.0016,0.0025,0.0025,0.0025,0.0016,0.0025,0.0016,0.0016,0.0025,0.0025,0.0025,0.0025,0.0025,0.0016,0.0025,0.0025,0.0025,0.0025,0.0025,0.0016,0.0016,0.0016,0.0025,0.0000,0.0016,0.0025,0.0016,0.0025,0.0016,0.0025,0.0025,0.0016,0.0025,0.0016,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0016,0.0025,0.0025,0.0016,0.0025,0.0025,0.0025,0.0025,0.0016,0.0025,0.0025,0.0016,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0025,0.0040,0.0025,0.0025,0.0040,0.0025,0.0016,0.0016,0.0063,0.0016,0.0016,0.0025,0.0016,0.0016,0.0016,0.0016,0.0025,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0000,0.0016,0.0025,0.0016,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0063,0.0016,0.0016,0.0016,0.0016,0.0025,0.0025,0.0025,0.0025,0.0016,0.0025,0.0025,0.0016,0.0025,0.0025,0.0025,0.0016,0.0025,0.0016,0.0025,0.0016,0.0016,0.0016,0.0016,0.0025,0.0025,0.0016,0.0025,0.0025,0.0016,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0025,0.0025,0.0016,0.0016,0.0025,0.0025,0.0016,0.0025,0.0025,0.0016,0.0016,0.0025,0.0016,0.0016,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0025,0.0016,0.0025,0.0025,0.0025,0.0016,0.0016,0.0025,0.0025,0.0016,0.0016,0.0016,0.3981,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0025,0.0016,0.0000,0.0025,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0016,0.0025,0.0025,0.0016,0.0016,0.0025,0.0025,0.0025,0.0025,0.0025,0.0016,0.0016,0.0016,0.0025,0.0016,0.0016,0.0025,0.0025,0.0025,0.0025]';
B=0~0.01の部分を縦一列に表記
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 数値型 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!