How to make a rectangular pulse train at 50 kHz frequency?
Ältere Kommentare anzeigen
HI,
I have a code -
t = 0 : 1/1e3 : 1; % 1 kHz sample freq for 1 sec
d = 0 : 1/3 : 1; % 3 Hz repetition freq
y = pulstran(t,d,'rectpuls');
plot(t,y)
which is supposed to generate a rectangular pulse at 3 Hz how to make it 50 kHz?
When I try changing it, I dont see the pulse train any more.
Thanks
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Waveform Generation finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!