In reply to GrendeI:
> If anyone cares to help a complete programming novice, it would be very much appreciated!
A more general bit of advice would be that unless you're actually doing a lot of work with matrices (rather than arrays), then ditch the disastrous, slow, under-supported and expensive memory-hog that is Matlab, and install R instead. If you feel a great need to pay a license fee, at least go with IDL.
(Of course, if you are doing a lot of vector/matrix calculations, Matlab is actually pretty good).