批踢踢實業坊
›
看板
MATLAB
關於我們
聯絡資訊
返回看板
作者
geminicstar (小散)
看板
MATLAB
標題
[問題] sort選取top n
時間
Sat Jan 7 10:21:49 2012
請問有人知道內建sort排序完之後可以選擇我要的前幾名嗎?? 我排序完共104項~但我只要前20 --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.170.205.70
推
Raymond0710
:Y=sort(X); Y(1:20)
01/07 12:27