Demo entry 6357189

matlab

   

Submitted by anonymous on Apr 21, 2017 at 10:56
Language: Matlab. Code size: 239 Bytes.

for i=1:numpatches
    imgindex=randi(10);
    x=randi(64);
    y=randi(64);
    sample=IMAGES((x-1)*8+1:x*8,(y-1)*8+1:y*8,imgindex);
    patches(:,i)=sample(:);
end
{% highlight bash lineno %}
    some code ...
{% endhighlight %}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).