Skip to content

Instantly share code, notes, and snippets.

@hndr91
Created May 5, 2017 04:39
Show Gist options
  • Save hndr91/a80af8f6207b155ced62f0fd6ad296af to your computer and use it in GitHub Desktop.
Save hndr91/a80af8f6207b155ced62f0fd6ad296af to your computer and use it in GitHub Desktop.
% holder variabel
im = zeros(10,1);
% store hasil ekstraksi ke element im
im(1,1) = feature(1); % misal, masukkan fitur satu ke im ke 1
im(2,1) = feature(2); % masukkan fitur 2 ke im ke 2
% dst %
% kalau fungsi fitur yang store sama di looping aja
for i=1:10
% kalau beda
im(i,1) = feature(i);
% atau kalau sama
im(i,1) = feature(1); % misal
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment