High Frequency Square Wave

3 visualizzazioni (ultimi 30 giorni)
Nishant Kumar
Nishant Kumar il 30 Nov 2020
Modificato: Setsuna Yuuki. il 30 Nov 2020
I want to generate a square wave with a frequency of 100MHz for a very short duration. Help me out please.

Risposta accettata

Setsuna Yuuki.
Setsuna Yuuki. il 30 Nov 2020
Modificato: Setsuna Yuuki. il 30 Nov 2020
You can try with square() --> More Info
For example:
time = linspace(0,1,1000);
frecuency = 5; %or other frecuency
x = square(2*pi*frecuency*time);
plot(time,x)

Più risposte (0)

Categorie

Scopri di più su Stochastic Differential Equation (SDE) Models in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by