行列から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!