% DFT example
% the effect of fs and N (length)
fs=50; % sampling freq
t_duration=2.0; % duration of time: 2, 4, 8,.
leng_t = length(t);
disp(['the length of signal = ',num2str(leng_t)]);
t = t';
fa = 1;
As announced during class, you will have biweekly homework using vernier sensor kits.
This homework is to make you be familirized with those sensor devices which will be used for your term project.
In this homework, you will rent the device an
Introduction to MATLAB
Scientific programming language
Matrix based computation
Easy to use (no compilation is required), lots
of functions (toolboxs)
Powerful tool for mathematical analysis :
simple programming, plotting, numerical