Can I calculate Sampling frequency from below information?

2 Ansichten (letzte 30 Tage)
Syed Adeel
Syed Adeel am 5 Jun. 2020
Kommentiert: Walter Roberson am 8 Jun. 2020
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 Kommentar
Walter Roberson
Walter Roberson am 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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by