Date: Apr 22, 2013 6:59 PM
Author: ghasem
Subject: Re: how remove unwanted high frequencies in MATLAB?

> Well, when you do the Fourier Series summation, just leave out the components with frequencies greater than f1.
exactly,my problem is here.I want to remove frequencies higher than f1,but I don't know how code it in MATLAB?
for example,following code is imperfect.please perfect it.
data1 = rand(1,n) % suppose data1 is my data.
data2 = dct(data) % data2 is discrete cosine transform of data1.

% now!How draw it's figure in discrete frequency domain and leave out f > f1 ?