0
$\begingroup$

I have the following vector:

%create vector of sampling
t=0:pi/100:2*pi;
x=sin(t);

What is the sampling frequency (of this vector) ?

Thanks

$\endgroup$
0
$\begingroup$

A discrete sine wave is defined as $$\sin (2\pi f n)$$ Now your index is n=2*pi*(0:1/200:1). This means your sampling frequency is 200Hz.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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