MATLAB: Hilbert space-filling curve

hilbertspace filling

hi
am interested in a program which calculates the (x y) values of a hilbert space-filling curve for a given area. resolution (length) could be a paremeter.
would be very grateful!
mat
Related Question