Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
how can I eliminate coloum with mean largest than a certain value?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Azzi Abdelmalek
am 13 Apr. 2016
Bearbeitet: Azzi Abdelmalek
am 13 Apr. 2016
largest_value=50
idx=mean(A)>largest_value
A(:,idx)=[]
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!