Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: how remove unwanted high frequencies in MATLAB?
Replies: 11   Last Post: Apr 23, 2013 3:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,892
Registered: 12/7/04
Re: how remove unwanted high frequencies in MATLAB?
Posted: Apr 23, 2013 3:30 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Tuesday, April 23, 2013 6:25:10 PM UTC+12, ghasem wrote:
> > 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


Yes, you're right, I'm totally to blame for the problems with your data.
I've been in your gunsight ever since I woke up this morning.
First of all, I had my breakfast before replying to your post and you rightly chastised me for that.
Then, I failed to realise that you need things to be explained in words of one syllable, otherwise you do not understand.
And now after I told how to do what you wanted to do, I've caused your problem to get worse rather than better.
Oh dear, I'm hopeless.
I'm off to bed, hoping to have a better day tomorrow.





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.