Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In MATLAB I have to pass cut-off frequency for designing a filter. But this Cut-off frequency is in radians-per-sample. How do I convert my analog Cut off frequency in Hz, into the required radians-per-sample for MATLAB?

share|improve this question
    
Do you know the sample rate? – hotpaw2 Feb 20 '13 at 9:46
    
yes, lets say Fs – gpuguy Feb 20 '13 at 9:55
up vote 5 down vote accepted

Problems like these are best attacked using some dimensional analysis:

$$f|_{rad/samp} = f|_{cycles/sec} * \frac{\text{sec}}{\text{samp}} * \frac{\text{rad}}{\text{cycle}}$$

$$f|_{rad/samp} = f|_{cycles/sec} \frac{2\pi}{f_s}$$

where $f_s$ is the sample rate in Hz.

share|improve this answer
    
This worked as expected...thanks – gpuguy Feb 26 '13 at 13:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.