oshiokiyo~
fizzbuzz
home
contact
mail
rizon
freenode
encrypt
time for a fizzbuzz
it kind of works
i made this shit in bed late one night in an attempt to create a fizzbuzz that didn't use loops, instead using matlab/octave's great matrix operations. you can run this in octave. i have not tested in matlab.

a=[1:100];
b=strcat({'','fizz'}([1+!mod(a,3)]),
         {'','buzz'}([1+!mod(a,5)]));
a=num2cell(int16(cellfun(@isempty,b)).*a);
b(cellfun(@isempty,b))=0;
strcat(b,a)


attempt of explanation
it's been so long since i did this, but here goes.

an initial array named a is created.

and i forgot how the rest works.