How do I generate a nano second rectangular pulse function in Matlab (Using 'rectpuls()')?
Mostra commenti meno recenti
When I am plotting this from t=0 to t=10^-6 the program is not running.
t = 0 : 1/1e6 ; 1;
w = 0: 1/1e9 : 1;
pulse = rectpuls(t,w);
x = 0:1/1e-3:1;
plot(x,pulse)
1 Commento
Rik
il 31 Gen 2021
I restore the edit from Google cache. @Meghanad Kayanattil please don't edit it away again, that is extremely rude.
Risposte (1)
Walter Roberson
il 26 Gen 2016
0 voti
w, the width, is expected to be a scalar for rectpuls
Categorie
Scopri di più su Simulink in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!