Do you understand what the code that she gave you is doing? That's the first step, i suppose. The first section is creating an FIR lowpass filter using the windowing method.
the second and third are creating FIR band/high pass filters from a low pass filter using modulation.
It sounds to me like you don't understand matlab at all, and what you want from me is to give you code that replicates this.
also, if you want to post code in the future, place it inside
PHP Code:
[code]code goes here[/code]
tags.