フィルターのクリア

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 Center および File ExchangeCalculus についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by