plotting a function of rectangular pulse train

2 visualizaciones (últimos 30 días)
adam onti
adam onti el 6 de Abr. de 2021
Respondida: Saurabh el 21 de Oct. de 2024
plot X(t) using Matlab
{ 1, t<T1
X(t) = {
{ 0, T1<t<T/2
let T1 =1 & T = 4

Respuestas (1)

Saurabh
Saurabh el 21 de Oct. de 2024
Could you share what all things have you tried? That would help me align my answers accordingly. I can provide an initial idea of how to plot the required graph.
To plot a graph, one can leverage the 'plot' function:
plot(t, X);
where 't' is the time from 0 to 4 and 'X' is the required vector values according to the given function.
To know more about the 'plot' function, refer to the below link:
I hope this was helpful.

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by