Can I calculate Sampling frequency from below information?

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 commentaire

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

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur MATLAB Coder dans Centre d'aide et File Exchange

Produits

Version

R2016a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by