필터 지우기
필터 지우기

Hi, im new, how to represent this signal

조회 수: 1 (최근 30일)
Ruben Abreu
Ruben Abreu 2021년 12월 12일
답변: Chunru 2021년 12월 13일
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)

답변 (1개)

Chunru
Chunru 2021년 12월 13일
% 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])

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by