Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
how can I eliminate coloum with mean largest than a certain value?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Azzi Abdelmalek
il 13 Apr 2016
Modificato: Azzi Abdelmalek
il 13 Apr 2016
largest_value=50
idx=mean(A)>largest_value
A(:,idx)=[]
0 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!