Re: [Fwd: Re: code working on simulator but not on device?]
Thanks. Thight might help. i will read and follow that.
I had one question. In functions like butter (for filters) we declare a variable Wn (the cut off frequency). ex: [B,A] = BUTTER(N,Wn). In this Wn value is between 0 and 1, where 1 means half of sampling rate. What I am not understanding is where is it getting sample rate value from. I saw some codes and in that the sample rate value is not declared before using the command. Directly the command is used. Where is it getting sample rate value from?
What I understand is suppose I have to run that filter design on an AIC. And AIC is set at some sampling rate ex 48KHz. Then the code is understanding that sample rate and setting Wn accordingly. Kindly correct me if I am wrong.
Another thing, suppose dont have sample rate of device and I want to provide one. How will I provide the sampling rate and then Wn?
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.