How can i rearrange a vector ?
조회 수: 1 (최근 30일)
이전 댓글 표시
I need you help in matlab
if A=[8 1 12 3 6 10 13 3];
AVG=sum(A)/length(A);
i need to neglect all values that below the AVG
so i get B=[8 12 10 13]
can you help me to perform this task in general
댓글 수: 0
채택된 답변
the cyclist
2015년 9월 1일
B = A(A>=mean(A))
댓글 수: 2
the cyclist
2015년 9월 2일
I don't really understand the new question.
(Also, you might consider posting a new question. More people will see it.)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!