help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ok, new problem


From: Doug Stewart
Subject: Re: Ok, new problem
Date: Sun, 18 Nov 2007 15:35:57 -0500
User-agent: Thunderbird 1.5.0.13 (Windows/20070809)

Matthias Brennwald wrote:
On 18.11.2007, at 19:02, address@hidden wrote:

  wavwrite(x,Fs,16,"senyal.wav")

Try this:
        wavwrite("senyal.wav",x',Fs,16)

Apart from this: you are still using Fs in the sin (...) functions...



It is OK to have Fs in the sin functions.

In continuous time domain the independent variable is "t" time but in discrete time space the independent variable is usually designated as "KT" where T ="tau" =1/Fs and K is a counting number. Thus K/Fs is the independent variable that he is using which is correct. It might not be the fastest way to do it but it is text book correct.

My students do similar labs and I insist that they do it this way for readability at the first. If It was for commercial production then for speed reasons you would do it other ways. :-)

Doug Stewart


Doug Stewart



Cheers
Matthias



reply via email to

[Prev in Thread] Current Thread [Next in Thread]