行列から0~0.01となる要素を抽出して、別の行列として定義したいです。
Ältere Kommentare anzeigen
行列から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の部分を縦一列に表記
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 数値型 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!