hi guys. pls i need help to write a math lab code for: 3dirac(n+3)-dirac(n-2). and also n[4u(n-1)-​u(n-5)]+10​e.^0.2(n-3​)[u(n-3)-u​(n-5)] . please i am due to submit the assignment. thanks

1 view (last 30 days)
hi guys. Please i need help to write a math lab code for: 3dirac(n+3)-dirac(n-2). and also n[4u(n-1)-u(n-5)]+10e.^0.2(n-3)[u(n-3)-u(n-5)] . please i am due to submit the assignment. regards, thanks

Answers (1)

Walter Roberson
Walter Roberson on 9 Feb 2016
hint: MATLAB needs explicit multiplication symbols. For example, 3dirac(n+3) would have to be written 3*dirac(n+3). Also, MATLAB only uses () to indicate grouping of an expression, not [] .

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!