I am running matlab2007b on slackware, it requires 512Mb, 1024 recommended! But You could try by using fluxbox instead of gnome or kde. It'll help a lot.
Or, if you don't need much, you could try out scilab (
www.scilab.org), it requires 40 MB more or less.
text mode: scilab -nw