Can I calculate Sampling frequency from below information?
Show older comments
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
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
Answers (1)
Navya Seelam
on 8 Jun 2020
0 votes
Your sampling period T= (450e-9)/ N and hence the sampling frequency is 1/T.
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!