Results 1 to 2 of 2

Math Help - Generation of Sinusoids

  1. #1
    Newbie
    Joined
    Dec 2011
    Posts
    3

    Generation of Sinusoids

    Hi there, I have a question about "Generation of Sinusoids" with this command:
    would anyone explain to me about that. (I don't know what is @?)
    this is a piece of the program to make music.

    %Generate General Sinusoid
    %m is the desired octave, which is transformed into the appropriate multiplier by the oct function
    %L is the desired length of the note (in quarter notes)
    %fN is the frequncy of the note
    note = @(m, L, fN) sin(2*pi*oct(m)*fN*T*n(L)); %standard note at fund. freq.


    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4

    Re: Generation of Sinusoids

    Quote Originally Posted by esoli View Post
    Hi there, I have a question about "Generation of Sinusoids" with this command:
    would anyone explain to me about that. (I don't know what is @?)
    this is a piece of the program to make music.

    %Generate General Sinusoid
    %m is the desired octave, which is transformed into the appropriate multiplier by the oct function
    %L is the desired length of the note (in quarter notes)
    %fN is the frequncy of the note
    note = @(m, L, fN) sin(2*pi*oct(m)*fN*T*n(L)); %standard note at fund. freq.


    Anonymous Function:

    Anonymous Functions :: Types of Functions (MATLABŪ)

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Conjecturing sinusoids using a CAS?
    Posted in the Pre-Calculus Forum
    Replies: 5
    Last Post: August 19th 2010, 11:38 PM
  2. [SOLVED] Product of two sinusoids
    Posted in the Trigonometry Forum
    Replies: 9
    Last Post: July 26th 2010, 10:43 AM
  3. [SOLVED] Graph of two sinusoids
    Posted in the Trigonometry Forum
    Replies: 3
    Last Post: July 24th 2010, 06:50 AM
  4. Sinusoids
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: April 26th 2010, 02:24 PM
  5. Pre Cal probs dealing with sinusoids
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: May 3rd 2009, 02:07 PM

Search Tags


/mathhelpforum @mathhelpforum