Area for Values in Column
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Lucas MacClellan
am 27 Nov. 2017
Kommentiert: Lucas MacClellan
am 27 Nov. 2017
Hello everybody,
I have a matrix A and at the 10th column is the direction of my wind (0-360). Now I want to make an area just form 135-315 and erase the lines which are out of the area.
Here is what I made but something must be wrong...
DI = 135<A(:,10) & A(:,10)<315
A(DI,:) = [];
Thanks
Lucas
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!