Effacer les filtres
Effacer les filtres

sampling sawtooth sequence at high rate

2 vues (au cours des 30 derniers jours)
ahmad ramadan
ahmad ramadan le 23 Oct 2018
why matlab give error fs = 10000 n=0:10000 t = 0:1/fs:1.5; x1 = sawtooth(2*pi*50*t); subplot(2,1,1) stem(n,x1) axis([0 0.1 -1.2 1.2])
  1 commentaire
ahmad ramadan
ahmad ramadan le 23 Oct 2018
the error say
Error in Untitled6 (line 6) stem(n,x1)

Connectez-vous pour commenter.

Réponse acceptée

madhan ravi
madhan ravi le 23 Oct 2018
fs = 10000
t = 0:1/fs:1.5;
x1 = sawtooth(2*pi*50.*t);
subplot(2,1,1)
stem(x1)
xlim([1 200])

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by