Borrar filtros
Borrar filtros

Hi, im new, how to represent this signal

1 visualización (últimos 30 días)
Ruben Abreu
Ruben Abreu el 12 de Dic. de 2021
Respondida: Chunru el 13 de Dic. de 2021
Whats the code needed to create and represent the following signals using n and t suitable for each sign
1 - o(t)=(t+2)[u(t+2)-u(t)]+(-t+2)[u(t)-u(t-2)]
2 - l(t)=-3u(t+1)+u(t-1)+u(t-2)+u(t-3)

Respuestas (1)

Chunru
Chunru el 13 de Dic. de 2021
% For matlab symbolic maths, use heaviside for step function u(t)
% l(t)=-3u(t+1)+u(t-1)+u(t-2)+u(t-3)
syms t l
l(t) = -3*heaviside(t+1) + heaviside(t-1) + heaviside(t-2) + heaviside(t-3)
l(t) = 
fplot(l, [-5, 5])

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by