I know all about conversion of frequency from HZ to normalized frequency and from normalized frequency to angular frequency ,but I wonder how it is done in MATLAB. I have the following code:


here f=normalized frequency and omega=angular frequency. My question is how do we get the interval value(0.001) for our normalized frequncy.

Thanks for any help

  • 1
    $\begingroup$ This should answer your question: dsp.stackexchange.com/questions/15219/… $\endgroup$
    – Matt L.
    Commented Jul 26, 2014 at 13:16
  • $\begingroup$ Thanks for the link.But acctually my question is how do we go about deciding the interval valu.in this case it is 0.001 why not 0.002? $\endgroup$
    – Lakshmi
    Commented Jul 26, 2014 at 14:03
  • $\begingroup$ @Lakshmi, Could you please review my answer? $\endgroup$
    – Royi
    Commented Jun 30, 2022 at 5:57

1 Answer 1


The interval resolution should be determined according to data you want to analyze.

It is equivalent to the question, what magnification of your Micro Scope would you use?
Well, it depends on the size of the things I want to look at.

If your data within the sampling frequency you set has different energy in each frequency bin and you'd like to see it, use small intervals.

Though, The real question, how do you intend to use the Frequency Vector?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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