Matlab plotting and graphing signals

조회 수: 27 (최근 30일)
Steph surry
Steph surry 2020년 11월 4일
댓글: Walter Roberson 2020년 11월 4일
Plot the signals: x(t) = 1 – u(t-2) – u(t-4) -u(t-6)

답변 (1개)

Walter Roberson
Walter Roberson 2020년 11월 4일
sympref('heavisideatorigin', 1)
u = @heaviside
syms t
Now go ahead and construct your signal using u and fplot it.
  댓글 수: 2
Steph surry
Steph surry 2020년 11월 4일
How?
Walter Roberson
Walter Roberson 2020년 11월 4일
https://www.mathworks.com/matlabcentral/answers/598198-how-to-plot-delta-dirac-and-unit-step-functions#answer_533940

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by