Can I calculate Sampling frequency from below information?

2 views (last 30 days)
I am new to matlab thing and will need bit help.
Can I have sampling frequency from below lines?
N = 1000;
time = 1: 1: N;
time = (450e-9) * time / N;
  1 Comment
Walter Roberson
Walter Roberson on 8 Jun 2020
Note that it would be common for time to start at 0, in which case you would want 0:1:N-1 instead of 1:1:N

Sign in to comment.

Answers (1)

Navya Seelam
Navya Seelam on 8 Jun 2020
Your sampling period T= (450e-9)/ N and hence the sampling frequency is 1/T.

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!