Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how can I eliminate coloum with mean largest than a certain value?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi I have a matrix nxn called prices, where in each column I have an Historical stock prices. I want to eliminate all columns in which the mean are largest than a certain value (for example 50)
0 件のコメント
回答 (1 件)
Azzi Abdelmalek
2016 年 4 月 13 日
編集済み: Azzi Abdelmalek
2016 年 4 月 13 日
largest_value=50
idx=mean(A)>largest_value
A(:,idx)=[]
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!