Unit step function program

4 views (last 30 days)
Vanish Waghela
Vanish Waghela on 18 Mar 2020
Commented: vanshika waghela on 20 Mar 2020
How to write a program code for u(n)-u(n-1) with explanation?
Geoff Hayes
Geoff Hayes on 18 Mar 2020
Vanish - is this homework? What have you tried so far?

Sign in to comment.

Answers (1)

Sajeer Modavan
Sajeer Modavan on 18 Mar 2020
u = @(x) (2*x+4); % u = @(variable) (equation)
vanshika waghela
vanshika waghela on 20 Mar 2020
write a matlab program for u(n)+u(n-1) and verify how matlab reacts to it?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!