If you have a vector of raw data called raw
and a sampling rate fs
, you can create a plot of the first second of the signal using the plot()
function as follows:
main.m188 chars7 lines
This creates a plot of the raw data over the first second of the recording. The xlim()
function is used to set the x-axis limits to the first second. The xlabel()
, ylabel()
, and title()
functions are used to label the plot accordingly.
gistlibby LogSnag