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: Matlab
Replies: 11   Last Post: Dec 13, 2012 12:12 AM

Advanced Search

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

Posts: 31
Registered: 12/11/12
Re: Matlab
Posted: Dec 12, 2012 8:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

W dniu 2012-12-13 01:56, Tanner Handa pisze:
> I am working on a Matlab project and trying to shorten the sound of this
> frequency. Can you please further explain how to make the sound about
> half a second instead of about 1 second??
>
> This is what I am working with.
>
> freqsamp = 10000;
>
> t = linspace(0,1,freqsamp);


t = linspace(0, 0.5, freqsamp);

>
>
>
> a = (sin(1.5*pi*220*t) + sin(1.5*pi*440*t));
> sound(a, freqsamp)







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.