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: incorrect frequency sounds....
Replies: 4   Last Post: Mar 8, 2013 6:56 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,209
Registered: 11/27/08
Re: incorrect frequency sounds....
Posted: Mar 8, 2013 8:31 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 3/8/2013 8:24 AM, Sam Clark wrote:
> Fs= 1024;
> t= 0:1/Fs:10;
> x = cos(2*pi*512*t);

You are severely undersampling your curve.

plot(x(1:100),'.')

Alan Weiss
MATLAB mathematical toolbox documentation



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.