Unit step function program

How to write a program code for u(n)-u(n-1) with explanation?

3 件のコメント

Ameer Hamza
Ameer Hamza 2020 年 3 月 18 日
What does your question have to do with the unit step function? Give more details of what you are trying to do.
Vanish Waghela
Vanish Waghela 2020 年 3 月 18 日
How to do this operation of u(n)-u(n-1) using matlab
Geoff Hayes
Geoff Hayes 2020 年 3 月 18 日
Vanish - is this homework? What have you tried so far?

サインインしてコメントする。

回答 (1 件)

Sajeer Modavan
Sajeer Modavan 2020 年 3 月 18 日

0 投票

u = @(x) (2*x+4); % u = @(variable) (equation)
u(4)-u(4-1)

3 件のコメント

Sajeer Modavan
Sajeer Modavan 2020 年 3 月 19 日
did this help you
vanshika waghela
vanshika waghela 2020 年 3 月 19 日
I also need to show the graph of this!!
vanshika waghela
vanshika waghela 2020 年 3 月 20 日
write a matlab program for u(n)+u(n-1) and verify how matlab reacts to it?

サインインしてコメントする。

カテゴリ

質問済み:

2020 年 3 月 18 日

コメント済み:

2020 年 3 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by