hw2 - 20.309: Biological Instrumentation and Measurement...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
20.309: Biological Instrumentation and Measurement Laboratory Fall 2006 Homework Set 2 Due by 12:00 noon on Wednesday, Oct. 11, 2006 Here we will look at power spectra in matlab , and some issues associated with discrete-time Fourier analysis. You should save your matlab code in an m-file, which will make it easy to modify and reuse it, and submit your m-file along with your plots. Remember, when in doubt about any of the matlab commands given below, use the help command to get info about how to use each one the Windows installation of matlab will have this same info and more accessible via the Help menu. 1. Use matlab to generate a time vector y ( t ), approximately one second long, with a sampling frequency f samp of a few kHz (the syntax vector=start value:increment:end value; will be useful here increment is the time between your samples or 1 /f samp ). Then create a sinusoid based on that time vector choose a frequency f SIN of a few hundred Hz: y = sin ( ω SIN t ) = sin (2 πf SIN t ) Calculate the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/11/2011 for the course BIO 2.797j taught by Professor Matthewlang during the Fall '06 term at MIT.

Page1 / 2

hw2 - 20.309: Biological Instrumentation and Measurement...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online