Steve on Image Processing and MATLAB

Concepts, algorithms & MATLAB

Sampling a cosine

I know, I know ... I've really fallen behind in my blog posting the last month or so. Shifting responsibilities in my "real job" have left me snowed under for the last few weeks, and I haven't figured out yet how to adjust my schedule to keep up with the blog. Plus, the Fourier transform posts take longer than usual for me to write. Have no worries, though; I fully intend to return to posting about once a week.

In the meantime, I have a homework problem for you. Below I show samples taken from a cosine function:

[Update: t is in seconds.] Your task is to estimate the frequency of the cosine. Post your answer as a comment, and be sure to give the units (Hz or rad/s).

Published with MATLAB® 7.9



To leave a comment, please click here to sign in to your MathWorks Account or create a new one.