How can i rearrange a vector ?
3 次查看(过去 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 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!