Re: [問題] 關於隨機抽樣與矩陣維度的問題已回收
有更簡單的方法提供參考
假設DATA是1x300
index = randperm(300);
index(184:end) = [];
out = reshape(DATA(index),61,[]);
out就是你要的61x3的資料了。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.170.27.106
※ 編輯: maplefog 來自: 118.170.27.106 (09/25 17:41)
推
09/25 18:37, , 1F
09/25 18:37, 1F
討論串 (同標題文章)