ghasem
Posts:
95
Registered:
4/13/13


Re: how remove unwanted high frequencies in MATLAB?
Posted:
Apr 23, 2013 2:25 AM


> Interval in frequency is: > df=1/(2*N*dt); > where N is no of data and dt is the interval between data. > f1 corresponds to index no: > indx=round(f1/df); > So, for dct Y: > Y(indx:end)=0; > y=idct(Y); ============================== in fact,I have a one dimensional numerical simulation in spatial domain,that my answer become divergent.I think that divergence is due to frequencies higher than cutoff frequency.So,I want to remove these frequencies,such that my result become convergent and don't change. I applied your code,but my divergence became worse... why ? ghasem

