MATLAB, How to filter a discrete signal? I have a 1-by-10000 matrix of double`s stored in a file named "fecg.mat". The matrix represents the magnitude of a recorded FECG signal.

I've plotted it against time (from 0 to 9999): 



For removing the baseline I wonder if I can use a high-pass filter. How do I design a proper filter?

P.S 
Signal processing isn't my field of study. I have no idea how to filter a discrete time-domain signal.
Easiest way to remove baseline is to remove the average:

filtered = original - mean(original);


Actually, the average is the first coefficient of the Fourier transform, so it is actually a very sharp filtering: you are eliminating the DC coefficient.

If you want more classic filtering, then check functions like butter and friends, which will synthesize an IIR filter, then use filter to filter out your signal.

Matlab also includes a filter design tool.