如何寫入整 Row 進入一個 Cell array

作者: harristime (瀚宇)   2016-04-24 00:50:36
請參照下面的 code
我想把 Result 給寫入一個 Cell array "Feature",
Result 會是一個 1 x 6656 的向量, 然後在我的迴圈內
總共會有 150個 Result.
請問要如何將這150 Result 按順序寫入 一個 150 * 6656的 Cell array?
###########################################################
load data;
for i = 1:10
for j = 1:15
Result = hist(double(A_Set1{i,j})', 0:5:255)'./length(B_Set1{i,j});
Feature = Result(:)'; <
作者: celestialgod (天)   2016-04-24 01:48:00
為啥feature不用matrix要存cell的話 可以改成 Feature(i*15+j,) =num2cell(Result(:)');少一個:,應該是Feature(i*15+j,:) =

Links booklink

Contact Us: admin [ a t ] ucptt.com