Unit step function program
1 view (last 30 days)
Show older comments
How to write a program code for u(n)-u(n-1) with explanation?
3 Comments
Answers (1)
Sajeer Modavan
on 18 Mar 2020
u = @(x) (2*x+4); % u = @(variable) (equation)
u(4)-u(4-1)
3 Comments
vanshika waghela
on 20 Mar 2020
write a matlab program for u(n)+u(n-1) and verify how matlab reacts to it?
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!